Skip to content
Snippets Groups Projects
Commit 9ac1c875 authored by Seamus Lee's avatar Seamus Lee
Browse files

Improve documentation as per comment from Tim

parent 939a385b
Branches
No related tags found
No related merge requests found
......@@ -81,14 +81,14 @@ Elements acceptable within `<civix>`
### `<classloader>` {:#classloader}
* Containing element: [`<extension>`](#extension)
* Description: This specifies what classes should be added to the Composer ClassLoader
* Description: Specifies the namespace and file-path of classes to add to the classloader.
* Contains: elements
Elements acceptable within `<classloader>`
| Element | Acceptable instances |
| -- | -- |
| [`<psr4>`](#psr4) | Specifies the path and namespace to load into the class loader as per PHP PSR-4 Standard |
| [`<psr4>`](#psr4) | 1+ |
### `<comments>` {:#comments}
......@@ -250,15 +250,15 @@ Elements acceptable within `<maintainer>`
### `<psr4>` {:#psr4}
* Containing element: [`<classloader>`](#classloader)
* Description: Specifies the Name space and patho of classes to add the Composer Classloader
* Description: Specifies the namespace and file-path of classes to add to the classloader in PSR-4 Standard.
* Contains: nothing &mdash; should be empty
Attributes acceptable for `<psr4>`
| Attribute | Contains | Purpose |
| -- | -- | -- |
| `prefix` | text | Namespace of classes to load |
| `path` | text | Directory path to classes to load |
| `prefix` | text | Namespace of classes to add |
| `path` | text | Directory path to classes to add |
### `<releaseDate>` {:#releaseDate}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment