Kraken\Runtime\Command\Process\ProcessCreateCommand::command PHP Method

command() protected method

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