18 lines
300 B
PHP
18 lines
300 B
PHP
<?php
|
|
|
|
namespace App\Traits\MyStorage;
|
|
|
|
trait MyStorageTrait
|
|
{
|
|
private $_path = "";
|
|
|
|
final protected function getPathByMyStorage(): string
|
|
{
|
|
return $this->_path;
|
|
}
|
|
final protected function setPathByMyStorage(string $path): void
|
|
{
|
|
$this->_path = $path;
|
|
}
|
|
}
|