PSR4 Composer Autoloading namespaces

家住魔仙堡 提交于 2019-12-02 08:26:39

PSR-4 is case sensitive. The structure has to be app/Helpers/Router.php or better App with capital A.

All class names MUST be referenced in a case-sensitive fashion.

The subdirectory name MUST match the case of the sub-namespace names.

The terminating class name corresponds to a file name ending in .php. The file name MUST match the case of the terminating class name.

http://www.php-fig.org/psr/psr-4/

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!