1.单变量函数命名上说: $this->type $this->type2 看着不别扭么? function exception() function exception2() 看着会舒服么?2.注释的PHPDoc规范下吧。@param content / * File Name : YouYa.php * Author : xujinliang * Website : http://www.youyax.com * Description : The core of the YouYaX for PHP framework class files 3. 很多东西,定制性还是差了些。
缓存cache、数据库抽象层、Debug、验证授权、日志、错误处理、堆栈跟踪。要完善的还很多。
$this->type
$this->type2
看着不别扭么? function exception()
function exception2() 看着会舒服么?2.注释的PHPDoc规范下吧。@param content
/
* File Name : YouYa.php
* Author : xujinliang
* Website : http://www.youyax.com
* Description : The core of the YouYaX for PHP framework class files 3. 很多东西,定制性还是差了些。