Kraken\Runtime\Command\Thread\ThreadStartCommand::command PHP Method

command() protected method

protected command ( $params = [] )
    protected function command($params = [])
    {
        if (!isset($params['alias'])) {
            throw new RejectionException('Invalid params.');
        }
        return $this->runtime->getManager()->startThread($params['alias']);
    }
ThreadStartCommand