Kraken\Console\Client\Command\Process\ProcessDestroyCommand::command PHP Method

command() protected method

protected command ( 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 command(InputInterface $input, OutputInterface $output)
    {
        $parent = $input->getArgument('parent');
        $alias = $input->getArgument('alias');
        $flags = $input->getOption('flags');
        $flags = $this->validateDestroyFlags($flags);
        $cmd = 'process:destroy';
        $opts = ['alias' => $alias, 'flags' => $flags];
        return $this->informServer($parent, $cmd, $opts);
    }
ProcessDestroyCommand