From 939a385b7f2cf994f50057abe8d154f44fe7f773 Mon Sep 17 00:00:00 2001 From: Seamus Lee <seamuslee001@gmail.com> Date: Sat, 12 Aug 2017 14:53:44 +1000 Subject: [PATCH] Add in some documentation on classloader ans psr4 --- docs/extensions/info-xml.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/extensions/info-xml.md b/docs/extensions/info-xml.md index 5478d3c8..7fa82757 100644 --- a/docs/extensions/info-xml.md +++ b/docs/extensions/info-xml.md @@ -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 — 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} -- GitLab