Kraken\Runtime\Command\Thread\ThreadCreateCommand::command PHP Метод

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

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()->createThread($params['alias'], $params['name'], (int) $params['flags']);
    }
ThreadCreateCommand