Gaufrette\Adapter\Sftp::createDirectory PHP Method

createDirectory() protected method

Creates the specified directory and its parents.
protected createDirectory ( string $directory ) : boolean
$directory string The directory to create
return boolean TRUE on success, or FALSE on failure
    protected function createDirectory($directory)
    {
        return $this->sftp->mkdir($directory, 0777, true);
    }