PHP Трейт DirectAdmin\LetsEncrypt\Lib\Utility\StorageTrait

Показать файл Открыть проект

Открытые методы

Метод Описание
clearStorage ( $path = null ) : boolean Remove the storage
existsInStorage ( $fileName ) : string Check if a file or folder exists
getFromStorage ( $fileName ) : string Get from storage
writeToStorage ( $fileName, $content ) Write to the storage, always overwrites files

Описание методов

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

Remove the storage
public clearStorage ( $path = null ) : boolean
Результат boolean

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

Check if a file or folder exists
public existsInStorage ( $fileName ) : string
$fileName
Результат string

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

Get from storage
public getFromStorage ( $fileName ) : string
$fileName
Результат string

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

Write to the storage, always overwrites files
public writeToStorage ( $fileName, $content )
$fileName
$content