Automation/app/Libraries/MyStorage/MyStorageLibrary.php
2024-09-03 19:25:54 +09:00

29 lines
569 B
PHP

<?php
namespace App\Libraries\MyStorage;
class MyStorageLibrary
{
private $_path = WRITEPATH . "uploads";
private $_debug = false;
public function __construct() {}
final public function getPath(): string
{
return $this->_path;
}
final public function setPath(string $path): void
{
$this->_path .= DIRECTORY_SEPARATOR . $path;
}
final public function getDebug(): bool
{
return $this->_debug;
}
final public function setDebug(bool $debug): void
{
$this->_debug = $debug;
}
}