Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Load extensions configuration via compiler pass #104

Merged
merged 1 commit into from
Apr 30, 2019
Merged

Conversation

szymach
Copy link
Contributor

@szymach szymach commented Apr 30, 2019

No description provided.

@szymach szymach added the WIP label Apr 30, 2019
@@ -43,14 +43,6 @@ public function load(array $configs, ContainerBuilder $container): void
$container->setParameter('datagrid.twig.themes', $config['twig']['themes']);
}

if (true === $container->hasExtension('doctrine')) {
Copy link
Contributor Author

@szymach szymach Apr 30, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There are no extensions registered in the container here, because the separate extensions do not receive them at this point.

@szymach szymach requested review from chives and rn0 April 30, 2019 12:26
@rn0 rn0 merged commit 28e6305 into fsi-open:2.0 Apr 30, 2019
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants