Skip to content

[FrameworkBundle] Introduced new method for getting bundles config path #41566

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 1 commit into from
Sep 8, 2021

Conversation

a-menshchikov
Copy link
Contributor

@a-menshchikov a-menshchikov commented Jun 6, 2021

Q A
Branch? 5.4
Bug fix? no
New feature? yes
Deprecations? no
Tickets
License MIT
Doc PR symfony/symfony-docs#15423

At the moment bundles path duplicated in MicroKernelTrait: in registerBundles and registerContainerConfiguration methods. This leads to need to override the both methods if bundles config stored by custom path (e.g. when multiple kernels used).

The new method allows override the only itself when custom path is used.

@a-menshchikov
Copy link
Contributor Author

@nicolas-grekas are there some other problems that should be fixed?

@a-menshchikov a-menshchikov requested a review from stof June 30, 2021 09:42
@fabpot
Copy link
Member

fabpot commented Sep 8, 2021

Thank you @a-menshchikov.

@fabpot fabpot merged commit 7c531f5 into symfony:5.4 Sep 8, 2021
@a-menshchikov a-menshchikov deleted the bundles_path branch September 8, 2021 08:20
javiereguiluz added a commit to javiereguiluz/symfony-docs that referenced this pull request Sep 23, 2021
…sPath with Multiple Kernels (a-menshchikov)

This PR was merged into the 5.4 branch.

Discussion
----------

[Configuration] Using MicroKernelTrait::getBundlesPath with Multiple Kernels

See symfony/symfony#41566

Commits
-------

a69f6b3 MicroKernelTrait::getBundlesPath
This was referenced Nov 5, 2021
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