PHP 클래스 Resque\Logger\Handler\Connector

저자: Michael Haynes ([email protected])
파일 보기 프로젝트 열기: mjphaynes/php-resque 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$command command instance
$input input instance
$output output instance

공개 메소드들

메소드 설명
__construct ( Command $command, Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output ) : void Creates a new Connector instance
resolve ( $logFormat ) : Monolog\Handler\HandlerInterface Resolves a Monolog handler from string input

비공개 메소드들

메소드 설명
matches ( $pattern, $subject ) : array | false Performs a pattern match on a string and returns just the named matches or false if no match

메소드 상세

__construct() 공개 메소드

Creates a new Connector instance
public __construct ( Command $command, Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output ) : void
$command Symfony\Component\Console\Command\Command
$input Symfony\Component\Console\Input\InputInterface
$output Symfony\Component\Console\Output\OutputInterface
리턴 void

resolve() 공개 메소드

Resolves a Monolog handler from string input
public resolve ( $logFormat ) : Monolog\Handler\HandlerInterface
리턴 Monolog\Handler\HandlerInterface

프로퍼티 상세

$command 보호되어 있는 프로퍼티

command instance
protected $command

$input 보호되어 있는 프로퍼티

input instance
protected $input

$output 보호되어 있는 프로퍼티

output instance
protected $output