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:
parent
1dbf75c32c
commit
67f1f85146
@ -4,7 +4,6 @@ services:
|
||||
class: phpbb\storage\adapter_factory
|
||||
arguments:
|
||||
- '@config'
|
||||
- '@service_container'
|
||||
- '@storage.adapter_collection'
|
||||
- '@storage.provider_collection'
|
||||
|
||||
|
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user