StackFormation\Command\Stack\DiffCommand::executeWithStack PHP Метод

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

protected executeWithStack ( Stack $stack, Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output )
$stack StackFormation\Stack
$input Symfony\Component\Console\Input\InputInterface
$output Symfony\Component\Console\Output\OutputInterface
    protected function executeWithStack(Stack $stack, InputInterface $input, OutputInterface $output)
    {
        $blueprint = $this->blueprintFactory->getBlueprintByStack($stack);
        $diff = new Diff($output);
        $diff->setStack($stack)->setBlueprint($blueprint);
        $formatter = new FormatterHelper();
        $output->writeln("\n" . $formatter->formatBlock(['Parameters:'], 'error', true) . "\n");
        $diff->diffParameters();
        $output->writeln("\n" . $formatter->formatBlock(['Template:'], 'error', true) . "\n");
        $diff->diffTemplates();
    }