tikiwiki/packages/tiki-pkg-tikimanager/symfony/dependency-injection/Tests/Fixtures/TestServiceSubscriber.php
2023-11-20 20:52:04 +00:00

29 lines
713 B
PHP
Executable File

<?php
namespace Symfony\Component\DependencyInjection\Tests\Fixtures;
use Symfony\Contracts\Service\ServiceProviderInterface;
use Symfony\Contracts\Service\ServiceSubscriberInterface;
class TestServiceSubscriber implements ServiceSubscriberInterface
{
public function __construct($container)
{
}
public function setServiceProvider(ServiceProviderInterface $container)
{
}
public static function getSubscribedServices(): array
{
return [
__CLASS__,
'?'.CustomDefinition::class,
'bar' => CustomDefinition::class,
'baz' => '?'.CustomDefinition::class,
'late_alias' => TestDefinition1::class,
];
}
}