PHP 클래스 Resque\Logger\Handler\Connector\AbstractConnector

저자: Michael Haynes ([email protected])
상속: implements Resque\Logger\Handler\Connector\ConnectorInterface
파일 보기 프로젝트 열기: mjphaynes/php-resque

공개 메소드들

메소드 설명
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