-
-
Notifications
You must be signed in to change notification settings - Fork 5.2k
Documentation of the new PSR-4 class loader. #3686
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 1 commit
Commits
Show all changes
5 commits
Select commit
Hold shift + click to select a range
17166bd
First shot of a documentation of the new PSR-4 class loader.
derrabus 6f2a1a3
Adjustments from comments be @WouterJ
derrabus a05da41
Minor corrections.
derrabus 16fead4
Adjustments from comments by @bicpi
derrabus cb2be4a
Moved versionadded block to the top.
derrabus File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev
Previous commit
Moved versionadded block to the top.
- Loading branch information
commit cb2be4ab4df34a6aa02726c665e566d9ed31a849
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,12 +4,12 @@ | |
The PSR-4 Class Loader | ||
====================== | ||
|
||
Libraries that follow the `PSR-4`_ standard can be loaded with the ``Psr4ClassLoader``. | ||
|
||
.. versionadded:: 2.5 | ||
The :class:`Symfony\\Component\\ClassLoader\\Psr4ClassLoader` was | ||
introduced in Symfony 2.5. | ||
|
||
Libraries that follow the `PSR-4`_ standard can be loaded with the ``Psr4ClassLoader``. | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. You should add a .. versionadded:: 2.5
The :class:`Symfony\\Component\\ClassLoader\\Psr4ClassLoader`` was
introduced in Symfony 2.5. |
||
|
||
.. note:: | ||
|
||
If you manage your dependencies via Composer, you get a PSR-4 compatible | ||
|
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd move this above the first paragraph.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sure, why not. /ping @wouterj
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes, that's also what I meant.
Btw, you can trust @xabbuh's comments, he has much experience with the symfony docs & reviews :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I do trust him, I just wanted to hear your opinion because you suggested to add this paragraph. :-)