This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
en:dev:all:psr:psr-0 [25.05.2015 18:13] – en:dev:all:psr:psr-0de renamed to en:dev:all:psr:psr-0 (sort) Manuela v.d.Decken | en:dev:all:psr:psr-0 [28.12.2018 23:23] (current) – [Autoloading Standard] Manuela v.d.Decken | ||
---|---|---|---|
Line 2: | Line 2: | ||
====== Autoloading Standard ====== | ====== Autoloading Standard ====== | ||
+ | <span important> | ||
The following describes the mandatory requirements that must be adhered to for autoloader interoperability. | The following describes the mandatory requirements that must be adhered to for autoloader interoperability. | ||
Line 9: | Line 10: | ||
* Each namespace can have as many sub-namespaces as it wishes. | * Each namespace can have as many sub-namespaces as it wishes. | ||
* Each namespace separator is converted to a DIRECTORY_SEPARATOR when loading from the file system. | * Each namespace separator is converted to a DIRECTORY_SEPARATOR when loading from the file system. | ||
- | * Each **_** character in the CLASS NAME is converted to a DIRECTORY_SEPARATOR. :!: // | + | * Each **_** character in the CLASS NAME is converted to a DIRECTORY_SEPARATOR. :!: // |
* The fully-qualified namespace and class is suffixed with **.php** when loading from the file system. | * The fully-qualified namespace and class is suffixed with **.php** when loading from the file system. | ||
- | * Alphabetic characters (AZ) in vendor names, namespaces and classes can be any combination of uppercase and lowercase letters. :!: In [[en: | + | * Alphabetic characters (AZ) in vendor names, namespaces and classes can be any combination of uppercase and lowercase letters. :!: In [[en: |