Gush\Command\Branch\BranchDeleteCommand::initialize PHP Метод

initialize() защищенный Метод

protected initialize ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output )
$input Symfony\Component\Console\Input\InputInterface
$output Symfony\Component\Console\Output\OutputInterface
    protected function initialize(InputInterface $input, OutputInterface $output)
    {
        parent::initialize($input, $output);
        if (null === $input->getArgument('branch_name')) {
            $input->setArgument('branch_name', $this->getHelper('git')->getActiveBranchName());
        }
        if (null === $input->getArgument('organization')) {
            $input->setArgument('organization', $this->getParameter($input, 'authentication')['username']);
        }
    }