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