services8.php 1.3 KB

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