services8.php 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. <?php
  2. use Symfony\Components\DependencyInjection\ContainerInterface;
  3. use Symfony\Components\DependencyInjection\Container;
  4. use Symfony\Components\DependencyInjection\Reference;
  5. use Symfony\Components\DependencyInjection\Parameter;
  6. use Symfony\Components\DependencyInjection\ParameterBag\ParameterBag;
  7. /**
  8. * ProjectServiceContainer
  9. *
  10. * This class has been auto-generated
  11. * by the Symfony Dependency Injection Component.
  12. */
  13. class ProjectServiceContainer extends Container
  14. {
  15. protected $shared = array();
  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 annotation.
  25. *
  26. * @param string $name The annotation name
  27. *
  28. * @return array An array of annotations
  29. */
  30. public function findAnnotatedServiceIds($name)
  31. {
  32. static $annotations = array (
  33. );
  34. return isset($annotations[$name]) ? $annotations[$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' => 'bar',
  45. 'bar' => 'foo is %foo bar',
  46. 'values' => array(
  47. 0 => true,
  48. 1 => false,
  49. 2 => NULL,
  50. 3 => 0,
  51. 4 => 1000.3,
  52. 5 => 'true',
  53. 6 => 'false',
  54. 7 => 'null',
  55. ),
  56. );
  57. }
  58. }