Kraken\Filesystem\Adapter\AdapterLocal::__construct PHP Метод

__construct() публичный Метод

public __construct ( string $rootDir = null, integer $writeFlags = LOCK_EX, integer $linkHandling = parent::DISALLOW_LINKS, array $permissions = [] )
$rootDir string
$writeFlags integer
$linkHandling integer
$permissions array
    public function __construct($rootDir = null, $writeFlags = LOCK_EX, $linkHandling = parent::DISALLOW_LINKS, $permissions = [])
    {
        static::$permissions = ['file' => ['public' => 0744, 'private' => 0700], 'dir' => ['public' => 0755, 'private' => 0700]];
        $ex = null;
        try {
            parent::__construct($rootDir, $writeFlags, $linkHandling, $permissions);
        } catch (Error $ex) {
        } catch (Exception $ex) {
        }
        if ($ex !== null) {
            throw new InstantiationException("AdapterLocal could not be initalized.", $ex);
        }
    }
AdapterLocal