PHP Интерфейс Resque\Logger\Handler\Connector\ConnectorInterface

Автор: Michael Haynes ([email protected])
Показать файл Открыть проект

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

Метод Описание
processor ( Command $command, Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output, array $args ) : Callable Returns the processor for this handler
replacePlaceholders ( string $string ) : string Replaces all instances of [%host%, %worker%, %pid%, %date%, %time%] in logger target key so can be unique log per worker
resolve ( Command $command, Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output, array $args ) : HandlerInterface Resolves the handler class

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

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

Returns the processor for this handler
public processor ( Command $command, Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output, array $args ) : Callable
$command Symfony\Component\Console\Command\Command
$input Symfony\Component\Console\Input\InputInterface
$output Symfony\Component\Console\Output\OutputInterface
$args array
Результат Callable

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

Replaces all instances of [%host%, %worker%, %pid%, %date%, %time%] in logger target key so can be unique log per worker
public replacePlaceholders ( string $string ) : string
$string string Input string
Результат string

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

Resolves the handler class
public resolve ( Command $command, Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output, array $args ) : HandlerInterface
$command Symfony\Component\Console\Command\Command
$input Symfony\Component\Console\Input\InputInterface
$output Symfony\Component\Console\Output\OutputInterface
$args array
Результат HandlerInterface