Automation/app/Libraries/MyStorage/MyStorageLibrary.php
2024-09-08 18:45:08 +09:00

21 lines
460 B
PHP

<?php
namespace App\Libraries\MyStorage;
use App\Libraries\CommonLibrary;
abstract class MyStorageLibrary extends CommonLibrary
{
private $_uploadPath = "uploads";
protected function __construct()
{
parent::__construct();
}
abstract public function save(string $fileName, string $mediaType, string $content, int $file_sequence);
final public function getUploadPath(): string
{
return $this->_uploadPath;
}
}