1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-30 21:40:43 +02:00

[ticket/16649] Add compiler pass to make all services public

This also handles BC for phpBB extensions

PHPBB3-16639
This commit is contained in:
rxu
2020-12-09 00:28:38 +07:00
parent 157a8aca01
commit 302632d240
60 changed files with 43 additions and 105 deletions

View File

@@ -198,6 +198,9 @@ class container_builder
$this->container = $this->create_container($this->container_extensions);
// Mark all services public
$this->container->addCompilerPass(new pass\markpublic_pass());
// Easy collections through tags
$this->container->addCompilerPass(new pass\collection_pass());