mirror of
https://github.com/nextcloud/documentation.git
synced 2026-01-02 17:59:36 +07:00
Merge pull request #9646 from nextcloud/feat/devel-typo-autoload
Typo in class loader `PSR-4` instead of `PSR-0`
This commit is contained in:
@@ -10,7 +10,7 @@ The classloader is provided by Nextcloud and loads all your classes automaticall
|
||||
PSR-4 autoloading
|
||||
-----------------
|
||||
|
||||
Nextcloud uses a :ref:`PSR-0 autoloader<psr4>`. The namespace **\\OCA\\MyApp**
|
||||
Nextcloud uses a :ref:`PSR-4 autoloader<psr4>`. The namespace **\\OCA\\MyApp**
|
||||
is mapped to :file:`/apps/myapp/lib/`. Afterwards normal PSR-4 rules apply, so
|
||||
a folder is a namespace section in the same casing and the class name matches
|
||||
the file name.
|
||||
|
||||
Reference in New Issue
Block a user