Skip to content

[WIP] added missing ClassExistenceResource checks #20189

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

Closed
wants to merge 1 commit into from

Conversation

fabpot
Copy link
Member

@fabpot fabpot commented Oct 9, 2016

Q A
Branch? master
Bug fix? yes
New feature? no
BC breaks? no
Deprecations? no
Tests pass? yes
Fixed tickets n/a
License MIT
Doc PR n/a

Continuation of #20121

@javiereguiluz javiereguiluz added this to the 3.2 milestone Nov 7, 2016
@fabpot fabpot removed this from the 3.2 milestone Nov 16, 2016
@fabpot
Copy link
Member Author

fabpot commented Nov 26, 2016

We should also add a DirectoryExistenceResource for translations for instance. If we add translations in a bundle, we should regerenate the cache, which is not the case right now.

@chalasr
Copy link
Member

chalasr commented Jan 29, 2017

Finished in #21408, fixing your last comment too.

@fabpot fabpot closed this Feb 1, 2017
nicolas-grekas added a commit that referenced this pull request Feb 2, 2017
…racking resource existence (chalasr)

This PR was merged into the 3.3-dev branch.

Discussion
----------

[DI] Add ContainerBuilder::fileExists() for checking/tracking resource existence

| Q             | A
| ------------- | ---
| Branch?       | master
| Bug fix?      | no
| New feature?  | yes
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | #20189, #20189 (comment)
| License       | MIT
| Doc PR        | n/a

~~Finishes #20189 Adds a convenient `ContainerBuilder::fileExists()` method as suggested by Nicolas and use it to track resources in the FrameworkExtension, adding some missing ones.

Commits
-------

6b556b8 [DI] Add ContainerBuilder::fileExists()
@nicolas-grekas nicolas-grekas modified the milestones: 3.x, 3.3 Mar 24, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants