services24.php 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. <?php
  2. use Symfony\Component\DependencyInjection\ContainerInterface;
  3. use Symfony\Component\DependencyInjection\Container;
  4. use Symfony\Component\DependencyInjection\Exception\InactiveScopeException;
  5. use Symfony\Component\DependencyInjection\Exception\InvalidArgumentException;
  6. use Symfony\Component\DependencyInjection\Exception\LogicException;
  7. use Symfony\Component\DependencyInjection\Exception\RuntimeException;
  8. use Symfony\Component\DependencyInjection\ParameterBag\ParameterBag;
  9. /**
  10. * This class has been auto-generated
  11. * by the Symfony Dependency Injection Component.
  12. */
  13. class ProjectServiceContainer extends Container
  14. {
  15. private $parameters;
  16. private $targetDirs = array();
  17. public function __construct()
  18. {
  19. parent::__construct();
  20. $this->methodMap = array(
  21. 'foo' => 'getFooService',
  22. );
  23. }
  24. /**
  25. * Gets the public 'foo' shared autowired service.
  26. *
  27. * @return \Foo
  28. */
  29. protected function getFooService()
  30. {
  31. return $this->services['foo'] = new \Foo();
  32. }
  33. }