PHP Класс TQ\Vcs\StreamWrapper\FileBuffer\Factory\AbstractLogFactory

Наследование: implements TQ\Vcs\StreamWrapper\FileBuffer\FactoryInterface
Показать файл Открыть проект

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

Метод Описание
canHandle ( TQ\Vcs\StreamWrapper\PathInformationInterface $path, string $mode ) : boolean Returns true if this factory can handle the requested path
createFileBuffer ( TQ\Vcs\StreamWrapper\PathInformationInterface $path, string $mode ) : TQ\Vcs\Buffer\FileBufferInterface Returns the file stream to handle the requested path

Защищенные методы

Метод Описание
createLogString ( TQ\Vcs\Repository\RepositoryInterface $repository, integer | null $limit, integer | null $skip ) : string Creates the log string to be fed into the string buffer

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

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

Returns true if this factory can handle the requested path
public canHandle ( TQ\Vcs\StreamWrapper\PathInformationInterface $path, string $mode ) : boolean
$path TQ\Vcs\StreamWrapper\PathInformationInterface The path information
$mode string The mode used to open the file
Результат boolean True if this factory can handle the path

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

Returns the file stream to handle the requested path
public createFileBuffer ( TQ\Vcs\StreamWrapper\PathInformationInterface $path, string $mode ) : TQ\Vcs\Buffer\FileBufferInterface
$path TQ\Vcs\StreamWrapper\PathInformationInterface The path information
$mode string The mode used to open the path
Результат TQ\Vcs\Buffer\FileBufferInterface The file buffer to handle the path

createLogString() абстрактный защищенный Метод

Creates the log string to be fed into the string buffer
abstract protected createLogString ( TQ\Vcs\Repository\RepositoryInterface $repository, integer | null $limit, integer | null $skip ) : string
$repository TQ\Vcs\Repository\RepositoryInterface The repository
$limit integer | null The maximum number of log entries returned
$skip integer | null Number of log entries that are skipped from the beginning
Результат string