PHP Class Resque\Logger\Handler\Connector

Author: Michael Haynes ([email protected])
Mostra file Open project: mjphaynes/php-resque Class Usage Examples

Protected Properties

Property Type Description
$command command instance
$input input instance
$output output instance

Public Methods

Method Description
__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

Private Methods

Method Description
matches ( $pattern, $subject ) : array | false Performs a pattern match on a string and returns just the named matches or false if no match

Method Details

__construct() public method

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
return void

resolve() public method

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

Property Details

$command protected_oe property

command instance
protected $command

$input protected_oe property

input instance
protected $input

$output protected_oe property

output instance
protected $output