provider.php 197 B

123456789
  1. <?php
  2. use app\ExceptionHandle;
  3. use app\Request;
  4. // 容器Provider定义文件
  5. return [
  6. 'think\Request' => Request::class,
  7. 'think\exception\Handle' => \app\common\Error::class,
  8. ];