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');
$name = $input->getArgument('name');
$flags = $input->getOption('flags');
$flags = $this->validateCreateFlags($flags);
$cmd = 'process:create';
$opts = ['alias' => $alias, 'name' => $name, 'flags' => $flags];
return $this->informServer($parent, $cmd, $opts);
}