-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
[Config] additions from ResourceWatcher #4619
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 all commits
Commits
Show all changes
11 commits
Select commit
Hold shift + click to select a range
45df2e6
[Config] updated resources API to be more explicit
everzet 6b39688
[Config] moved DirectoryResource childs retrieving to the special get…
everzet 1f9ba38
[Config] getFilteredChildResources() method added to DirectoryResource
everzet 45a45ba
[Config] updated DirectoryResource tests
everzet 9fe0d00
[Config] update FileResourceTest
everzet d7c24eb
[Config] added new methods and their tests to File and Directory reso…
everzet c9eaa72
[Config] made ResourceInterface extends Serializable
fabpot ece489f
[Config] skip dots in getFilteredChilds() (fixes test suite on Linux)
everzet ff9c132
[Config] added type prefixes to resource ids
everzet 56b60c8
[Config] use is_file in FileResource::exists()
everzet 241aa92
[Config] added existence check to some resource methods
everzet 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
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
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
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
Oops, something went wrong.
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.
@ return should be FilesystemIterator[] as its an array of FilesystemIterator objects.
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.
@sstok no, it's an array in any case.
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.
Oh, wait. You mean using
FilesystemIterator[]
as description toarray
ofFilesystemIterator
? This sounds even crazier than old good docblocks now :) @fabpot @stof what do you think, guys? I'm not sure we stick to this@... ...[]
convention in Symfony2, do we?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.
There are a large number of Components that us it :) Templating, Translator, Config, Console, DepencyInjection, Routing, Security.
Use this regex
@(return|param)\s+[\w\d]+\[\]
to search there usage.