所在的位置: php >> php发展 >> 202215thinkphp源码无差

202215thinkphp源码无差

thinkphp源码无差别阅读(十二)framework阅读think/event/AppInit.phpthink/event/HttpEnd.phpthink/event/HttpEnd.phpthink/event/LogRecord.php

属性:type、message

构造方法:__construct

think/event/LogWrite.php

属性:channel、log

构造方法:__construct

think/event/RouteLoaded.php

构造方法:__construct

think/exception/ClassNotFoundException.php

属性:class

构造方法:__construct、getClass

think/exception/ErrorException.php

属性:severity

构造方法:__construct

获取错误级别:getSeverity

think/exception/FailException.php

获取错误级别:getSeverity

think/exception/FuncNotFoundException.php

属性:func

构造方法:__construct

获取方法名:getFunc

think/exception/Handle.php

属性:app、ignoreReport、isJson

构造方法:__construct

上报或者记录异常:report

是否忽略:isIgnoreReport

渲染异常:render

渲染异常renderForConsole

渲染


转载请注明:http://www.aierlanlan.com/tzrz/8791.html

  • 上一篇文章:
  •   
  • 下一篇文章: