PHP Класс Resque\Logger\Handler\Connector\AbstractConnector

Автор: Michael Haynes ([email protected])
Наследование: implements Resque\Logger\Handler\Connector\ConnectorInterface
Показать файл Открыть проект

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

Метод Описание
processor ( Command $command, Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output, array $args ) : StripProcessor The default processor is the StripFormatProcessor which removes all the console colour formatting from the string
replacePlaceholders ( string $string ) : string Replaces all instances of [%host%, %worker%, %pid%, %date%, %time%] in logger target key so can be unique log per worker

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

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

The default processor is the StripFormatProcessor which removes all the console colour formatting from the string
public processor ( Command $command, Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output, array $args ) : StripProcessor
$command Symfony\Component\Console\Command\Command
$input Symfony\Component\Console\Input\InputInterface
$output Symfony\Component\Console\Output\OutputInterface
$args array
Результат StripProcessor

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