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

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

Защищенные свойства (Protected)

Свойство Тип Описание
$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