Свойство | Тип | Описание | |
---|---|---|---|
$create | |||
$directory | |||
$initialized | |||
$sftp |
Метод | Описание | |
---|---|---|
__construct ( |
||
createFile ( $key, Gaufrette\Filesystem $filesystem ) | ||
delete ( $key ) | ||
exists ( $key ) | ||
isDirectory ( $key ) | ||
keys ( ) | ||
listKeys ( $prefix = '' ) | ||
mtime ( $key ) | ||
read ( $key ) | ||
rename ( $sourceKey, $targetKey ) | ||
write ( $key, $content ) |
Метод | Описание | |
---|---|---|
computePath ( $key ) | ||
ensureDirectoryExists ( $directory, $create ) | ||
fetchKeys ( $directory = '', $onlyKeys = true ) | ||
initialize ( ) | Performs the adapter's initialization. |
public __construct ( |
||
$sftp | An Sftp instance | |
$directory | string | The distant directory |
$create | boolean | Whether to create the remote directory if it does not exist |
public createFile ( $key, Gaufrette\Filesystem $filesystem ) | ||
$filesystem | Gaufrette\Filesystem |