Kraken\Runtime\Command\Processes\ProcessesCreateCommand::command PHP Method

command() protected method

protected command ( $params = [] )
    protected function command($params = [])
    {
        if (!isset($params['definitions']) || !isset($params['flags'])) {
            throw new RejectionException('Invalid params.');
        }
        return $this->runtime->getManager()->createProcesses($params['definitions'], (int) $params['flags']);
    }
ProcessesCreateCommand