mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-25 20:58:55 +00:00
[ticket/15287] Remove unused services
PHPBB3-15287
This commit is contained in:
parent
1dbf75c32c
commit
67f1f85146
2 changed files with 1 additions and 5 deletions
|
@ -4,7 +4,6 @@ services:
|
||||||
class: phpbb\storage\adapter_factory
|
class: phpbb\storage\adapter_factory
|
||||||
arguments:
|
arguments:
|
||||||
- '@config'
|
- '@config'
|
||||||
- '@service_container'
|
|
||||||
- '@storage.adapter_collection'
|
- '@storage.adapter_collection'
|
||||||
- '@storage.provider_collection'
|
- '@storage.provider_collection'
|
||||||
|
|
||||||
|
|
|
@ -15,19 +15,16 @@ namespace phpbb\storage;
|
||||||
|
|
||||||
use phpbb\config\config;
|
use phpbb\config\config;
|
||||||
use phpbb\di\service_collection;
|
use phpbb\di\service_collection;
|
||||||
use Symfony\Component\DependencyInjection\ContainerInterface;
|
|
||||||
|
|
||||||
class adapter_factory
|
class adapter_factory
|
||||||
{
|
{
|
||||||
protected $config;
|
protected $config;
|
||||||
protected $container;
|
|
||||||
protected $adapters;
|
protected $adapters;
|
||||||
protected $providers;
|
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->config = $config;
|
||||||
$this->container = $container;
|
|
||||||
$this->adapters = $adapters;
|
$this->adapters = $adapters;
|
||||||
$this->providers = $providers;
|
$this->providers = $providers;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue