User Tools

Site Tools


en:dev:all:psr:psr-0

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next 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.Deckenen:dev:all:psr:psr-0 [03.06.2015 15:55] – external edit 127.0.0.1
Line 9: Line 9:
   * 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. :!: //Adaptation for WB:// The **_** has no special meaning in the __normal__ definition of a namespace, with pseudo-namespaces (see [[en:dev:all:psr-1de|PSR-1]]) it will be converted to a DIRECTORY_SEPERATOR which forbids in this case, folder and file names containing **_**.+  * Each **_** character in the CLASS NAME is converted to a DIRECTORY_SEPARATOR. :!: //Adaptation for WB:// The **_** has no special meaning in the __normal__ definition of a namespace, with pseudo-namespaces (see [[en:dev:all:psr:psr-1|PSR-1]]) it will be converted to a DIRECTORY_SEPERATOR which forbids in this case, folder and file names containing **_**.
   * 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:dev:all:psr-1de|PSR-1]] this will be further restricted!+  * Alphabetic characters (AZ) in vendor names, namespaces and classes can be any combination of uppercase and lowercase letters. :!: In [[en:dev:all:psr:psr-1|PSR-1]] this will be further restricted!
  
  
en/dev/all/psr/psr-0.txt · Last modified: 28.12.2018 23:23 by Manuela v.d.Decken