This repository has been archived on 2023-08-20. You can view files and clone it, but cannot push or open issues or pull requests.
symfony/tests/Symfony/Tests/Component/DependencyInjection/Fixtures/php/services1-1.php

43 lines
1.0 KiB
PHP
Raw Normal View History

2010-01-04 14:26:20 +00:00
<?php
use Symfony\Component\DependencyInjection\ContainerInterface;
use Symfony\Component\DependencyInjection\TaggedContainerInterface;
use Symfony\Component\DependencyInjection\Container;
use Symfony\Component\DependencyInjection\Reference;
use Symfony\Component\DependencyInjection\Parameter;
use Symfony\Component\DependencyInjection\ParameterBag\ParameterBag;
2010-01-04 14:26:20 +00:00
/**
* Container
*
* This class has been auto-generated
* by the Symfony Dependency Injection Component.
*/
class Container extends AbstractContainer implements TaggedContainerInterface
2010-01-04 14:26:20 +00:00
{
protected $shared = array();
2010-06-27 17:28:29 +01:00
/**
* Constructor.
*/
public function __construct()
{
parent::__construct(new ParameterBag($this->getDefaultParameters()));
}
/**
2010-08-05 06:34:53 +01:00
* Returns service ids for a given tag.
*
2010-08-05 06:34:53 +01:00
* @param string $name The tag name
*
2010-08-05 06:34:53 +01:00
* @return array An array of tags
*/
2010-08-05 06:34:53 +01:00
public function findTaggedServiceIds($name)
{
2010-08-05 06:34:53 +01:00
static $tags = array (
);
2010-08-05 06:34:53 +01:00
return isset($tags[$name]) ? $tags[$name] : array();
}
2010-01-04 14:26:20 +00:00
}