src/filesystem/Directory.php
public function create($permissions = 0755)
    {
        Filesystem::checkNotExists($this->path);
        Filesystem::checkWritable(dirname($this->path));
        mkdir($this->path, $permissions, true);
    }
public function create($permissions = 0755)
    {
        Filesystem::checkNotExists($this->path);
        Filesystem::checkWritable(dirname($this->path));
        mkdir($this->path, $permissions, true);
    }
public function create ( $ permissions = 0755 ) { Filesystem :: checkNotExists ( $ this -> path ) ; Filesystem :: checkWritable ( dirname ( $ this -> path ) ) ; mkdir ( $ this -> path , $ permissions , true ) ; }
Create the directory pointed to by path.

@param int $permissions
@throws \ntentan\utils\exceptions\FileAlreadyExistsException
@throws \ntentan\utils\exceptions\FileNotWriteableException
Create the directory pointed to by path .