You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
502 B
20 lines
502 B
10 months ago
|
<?php
|
||
|
|
||
|
namespace Symfony\Component\Translation\Tests\DependencyInjection\fixtures;
|
||
|
|
||
|
use Psr\Container\ContainerInterface;
|
||
|
use Symfony\Contracts\Service\ServiceSubscriberInterface;
|
||
|
use Symfony\Contracts\Translation\TranslatorInterface;
|
||
|
|
||
|
class ServiceSubscriber implements ServiceSubscriberInterface
|
||
|
{
|
||
|
public function __construct(ContainerInterface $container)
|
||
|
{
|
||
|
}
|
||
|
|
||
|
public static function getSubscribedServices()
|
||
|
{
|
||
|
return ['translator' => TranslatorInterface::class];
|
||
|
}
|
||
|
}
|