From 1cf105d7767a320d6bf7b233bd27ed3293ea19bb Mon Sep 17 00:00:00 2001 From: jwj <86849180@qq.com> Date: Thu, 16 Jan 2025 11:55:22 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BD=BF=E7=94=A8=20think-container=20?= =?UTF-8?q?=E4=B8=AD=E7=9A=84=20ClassNotFoundException?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../exception/ClassNotFoundException.php | 36 ------------------- 1 file changed, 36 deletions(-) delete mode 100644 src/think/exception/ClassNotFoundException.php diff --git a/src/think/exception/ClassNotFoundException.php b/src/think/exception/ClassNotFoundException.php deleted file mode 100644 index 940c3b6058..0000000000 --- a/src/think/exception/ClassNotFoundException.php +++ /dev/null @@ -1,36 +0,0 @@ - -// +---------------------------------------------------------------------- - -namespace think\exception; - -use Psr\Container\NotFoundExceptionInterface; -use RuntimeException; -use Throwable; - -class ClassNotFoundException extends RuntimeException implements NotFoundExceptionInterface -{ - public function __construct(string $message, protected string $class = '', ?Throwable $previous = null) - { - $this->message = $message; - - parent::__construct($message, 0, $previous); - } - - /** - * 获取类名 - * @access public - * @return string - */ - public function getClass() - { - return $this->class; - } -}