1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-04-10 19:03:24 +02:00

[ticket/15287] Remove unused services

PHPBB3-15287
This commit is contained in:
Rubén Calvo 2017-07-20 04:11:46 +02:00
parent 1dbf75c32c
commit 67f1f85146
2 changed files with 1 additions and 5 deletions

View File

@ -4,7 +4,6 @@ services:
class: phpbb\storage\adapter_factory
arguments:
- '@config'
- '@service_container'
- '@storage.adapter_collection'
- '@storage.provider_collection'

View File

@ -15,19 +15,16 @@ namespace phpbb\storage;
use phpbb\config\config;
use phpbb\di\service_collection;
use Symfony\Component\DependencyInjection\ContainerInterface;
class adapter_factory
{
protected $config;
protected $container;
protected $adapters;
protected $providers;
public function __construct(config $config, ContainerInterface $container, service_collection $adapters, service_collection $providers)
public function __construct(config $config, service_collection $adapters, service_collection $providers)
{
$this->config = $config;
$this->container = $container;
$this->adapters = $adapters;
$this->providers = $providers;
}