Make constructor protected
This commit is contained in:
parent
245254fa57
commit
5c88c8ac2a
|
@ -6,7 +6,8 @@ class FileUploader extends FileManager {
|
|||
private $permission;
|
||||
private $storage;
|
||||
|
||||
private function __construct() {
|
||||
protected function __construct() {
|
||||
parent::__construct();
|
||||
$this->storage = new \Upload\Storage\FileSystem($this->getLocalPath());
|
||||
}
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@ trait SingletonTrait
|
|||
{
|
||||
private static $instance;
|
||||
|
||||
private function __construct()
|
||||
protected function __construct()
|
||||
{
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue