PHP Class Resque\Logger\Processor\ConsoleProcessor

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

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 instance
__invoke ( array $record ) : array

Method Details

__construct() public method

Creates a new 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

__invoke() public method

public __invoke ( array $record ) : array
$record array
return array

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