services8.php 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. <?php
  2. use Symfony\Component\DependencyInjection\ContainerInterface;
  3. use Symfony\Component\DependencyInjection\TaggedContainerInterface;
  4. use Symfony\Component\DependencyInjection\Container;
  5. use Symfony\Component\DependencyInjection\Reference;
  6. use Symfony\Component\DependencyInjection\Parameter;
  7. use Symfony\Component\DependencyInjection\ParameterBag\ParameterBag;
  8. /**
  9. * ProjectServiceContainer
  10. *
  11. * This class has been auto-generated
  12. * by the Symfony Dependency Injection Component.
  13. */
  14. class ProjectServiceContainer extends Container implements TaggedContainerInterface
  15. {
  16. protected $shared = array();
  17. /**
  18. * Constructor.
  19. */
  20. public function __construct()
  21. {
  22. parent::__construct(new ParameterBag($this->getDefaultParameters()));
  23. }
  24. /**
  25. * Returns service ids for a given tag.
  26. *
  27. * @param string $name The tag name
  28. *
  29. * @return array An array of tags
  30. */
  31. public function findTaggedServiceIds($name)
  32. {
  33. static $tags = array (
  34. );
  35. return isset($tags[$name]) ? $tags[$name] : array();
  36. }
  37. /**
  38. * Gets the default parameters.
  39. *
  40. * @return array An array of the default parameters
  41. */
  42. protected function getDefaultParameters()
  43. {
  44. return array(
  45. 'foo' => '%baz%',
  46. 'baz' => 'bar',
  47. 'bar' => 'foo is %%foo bar',
  48. 'values' => array(
  49. 0 => true,
  50. 1 => false,
  51. 2 => NULL,
  52. 3 => 0,
  53. 4 => 1000.3,
  54. 5 => 'true',
  55. 6 => 'false',
  56. 7 => 'null',
  57. ),
  58. );
  59. }
  60. }