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