Overtrue\PHPLint\Command\LintCommand::initialize PHP Метод

initialize() публичный Метод

This is mainly useful when a lot of commands extends one main command where some things need to be initialized based on the input arguments and options.
public initialize ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output )
$input Symfony\Component\Console\Input\InputInterface An InputInterface instance
$output Symfony\Component\Console\Output\OutputInterface An OutputInterface instance
    public function initialize(InputInterface $input, OutputInterface $output)
    {
        $this->input = $input;
        $this->output = $output;
    }