services8.php 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  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. /**
  17. * Constructor.
  18. */
  19. public function __construct()
  20. {
  21. parent::__construct(new ParameterBag($this->getDefaultParameters()));
  22. }
  23. /**
  24. * Returns service ids for a given tag.
  25. *
  26. * @param string $name The tag name
  27. *
  28. * @return array An array of tags
  29. */
  30. public function findTaggedServiceIds($name)
  31. {
  32. static $tags = array(
  33. );
  34. return isset($tags[$name]) ? $tags[$name] : array();
  35. }
  36. /**
  37. * Gets the default parameters.
  38. *
  39. * @return array An array of the default parameters
  40. */
  41. protected function getDefaultParameters()
  42. {
  43. return array(
  44. 'foo' => '%baz%',
  45. 'baz' => 'bar',
  46. 'bar' => 'foo is %%foo bar',
  47. 'values' => array(
  48. 0 => true,
  49. 1 => false,
  50. 2 => NULL,
  51. 3 => 0,
  52. 4 => 1000.3,
  53. 5 => 'true',
  54. 6 => 'false',
  55. 7 => 'null',
  56. ),
  57. );
  58. }
  59. }