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>` ...@@ -81,14 +81,14 @@ Elements acceptable within `<civix>`
### `<classloader>` {:#classloader} ### `<classloader>` {:#classloader}
* Containing element: [`<extension>`](#extension) * Containing element: [`<extension>`](#extension)
* Description: *not yet documented* * Description: This specifies what classes should be added to the Composer ClassLoader
* Contains: elements * Contains: elements
Elements acceptable within `<classloader>` Elements acceptable within `<classloader>`
| Element | Acceptable instances | | 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} ### `<comments>` {:#comments}
...@@ -250,15 +250,15 @@ Elements acceptable within `<maintainer>` ...@@ -250,15 +250,15 @@ Elements acceptable within `<maintainer>`
### `<psr4>` {:#psr4} ### `<psr4>` {:#psr4}
* Containing element: [`<classloader>`](#classloader) * 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 * Contains: nothing &mdash; should be empty
Attributes acceptable for `<psr4>` Attributes acceptable for `<psr4>`
| Attribute | Contains | Purpose | | Attribute | Contains | Purpose |
| -- | -- | -- | | -- | -- | -- |
| `prefix` | text | *Not yet documented* | | `prefix` | text | Namespace of classes to load |
| `path` | text | *Not yet documented* | | `path` | text | Directory path to classes to load |
### `<releaseDate>` {:#releaseDate} ### `<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