var/cache/dev/ContainerXxUiZxH/getFosRest_Routing_Loader_ControllerService.php line 9

Open in your IDE?
  1. <?php
  2. use Symfony\Component\DependencyInjection\Argument\RewindableGenerator;
  3. use Symfony\Component\DependencyInjection\Exception\RuntimeException;
  4. // This file has been auto-generated by the Symfony Dependency Injection Component for internal use.
  5. // Returns the private 'fos_rest.routing.loader.controller' shared service.
  6. @trigger_error('The fos_rest.routing.loader.controller service is deprecated since FOSRestBundle 2.8. You can disable it by setting the config `fos_rest.routing_loader.enabled` to `false`.'E_USER_DEPRECATED);
  7. return new \FOS\RestBundle\Routing\Loader\RestRouteLoader($this, ($this->privates['file_locator'] ?? $this->load('getFileLocatorService.php')), ($this->privates['.legacy_controller_name_converter'] ?? ($this->privates['.legacy_controller_name_converter'] = new \Symfony\Bundle\FrameworkBundle\Controller\ControllerNameParser(($this->services['kernel'] ?? $this->get('kernel'1)), false))), $this->load('getFosRest_Routing_Loader_Reader_ControllerService.php'), 'json');