Kraken\Runtime\Command\Threads\ThreadsCreateCommand::command PHP Метод

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

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