Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
Developer Documentation
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
brienne
Developer Documentation
Commits
939a385b
Commit
939a385b
authored
7 years ago
by
Seamus Lee
Browse files
Options
Downloads
Patches
Plain Diff
Add in some documentation on classloader ans psr4
parent
13663577
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
docs/extensions/info-xml.md
+5
-5
5 additions, 5 deletions
docs/extensions/info-xml.md
with
5 additions
and
5 deletions
docs/extensions/info-xml.md
+
5
−
5
View file @
939a385b
...
...
@@ -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}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment