摘要:
1. Overview This PSR describes a specification for autoloading classes from file paths. It is fully interoperable, and can be used in addition to any 阅读全文
摘要:
1. Specification 1.1 Basics The LoggerInterface exposes eight methods to write logs to the eight RFC 5424levels (debug, info, notice, warning, error, 阅读全文
摘要:
这个规范原文如下: 1. Overview Code MUST follow a "coding style guide" PSR [PSR-1]. Code MUST use 4 spaces for indenting, not tabs. There MUST NOT be a hard li 阅读全文
摘要:
这个规范也不多,七点如下: 1. Overview Files MUST use only <?php and <?= tags. Files MUST use only UTF-8 without BOM for PHP code. Files SHOULD either declare symb 阅读全文
摘要:
Mandatory A fully-qualified namespace and class must have the following structure \<Vendor Name>\(<Namespace>\)*<Class Name> Each namespace must have 阅读全文