PHP Трейт Psr7Middlewares\Utils\FileTrait

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

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

Метод Описание
__construct ( string $directory ) Set the storage directory of the file.
appendQuery ( boolean $appendQuery = true ) : self Set whether use or not the uri query to generate the filenames.

Приватные методы

Метод Описание
getFilename ( Psr\Http\Message\RequestInterface $request, string $indexExt = 'html' ) : string Returns the filename of the response file.

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

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

Set the storage directory of the file.
public __construct ( string $directory )
$directory string

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

Set whether use or not the uri query to generate the filenames.
public appendQuery ( boolean $appendQuery = true ) : self
$appendQuery boolean
Результат self