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

Add in some documentation on classloader ans psr4

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