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:
@@ -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());
|
||||
|
||||
|
Reference in New Issue
Block a user