command; } /** * @return string * * 返回命令描述 */ public function getDescription(): string { return $this->description; } /** * @param $name * @return mixed * @throws NotFindClassException * @throws ReflectionException * @throws Exception */ public function __get($name): mixed { if ($this->has($name)) { return $this->get($name); } return parent::__get($name); // TODO: Change the autogenerated stub } /** * @param $name * @return bool * @throws */ private function has($name): bool { return Kiri::app()->has($name); } /** * @param $name * @return mixed * @throws ReflectionException * @throws NotFindClassException */ private function get($name): mixed { return Kiri::app()->get($name); } }