Files
w4rpservices/vendor/symfony/translation/Tests/DependencyInjection/fixtures/ServiceSubscriber.php
2019-06-23 10:14:30 +00:00

20 lines
502 B
PHP

<?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];
}
}