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/Components/DependencyInjection/Fixtures/php/services1.php
2010-06-28 09:31:54 +02:00

42 lines
1.0 KiB
PHP

<?php
use Symfony\Components\DependencyInjection\ContainerInterface;
use Symfony\Components\DependencyInjection\Container;
use Symfony\Components\DependencyInjection\Reference;
use Symfony\Components\DependencyInjection\Parameter;
use Symfony\Components\DependencyInjection\ParameterBag\ParameterBag;
/**
* ProjectServiceContainer
*
* This class has been auto-generated
* by the Symfony Dependency Injection Component.
*/
class ProjectServiceContainer extends Container
{
protected $shared = array();
/**
* Constructor.
*/
public function __construct()
{
parent::__construct(new ParameterBag($this->getDefaultParameters()));
}
/**
* Returns service ids for a given annotation.
*
* @param string $name The annotation name
*
* @return array An array of annotations
*/
public function findAnnotatedServiceIds($name)
{
static $annotations = array (
);
return isset($annotations[$name]) ? $annotations[$name] : array();
}
}