Skip to content

Latest commit

 

History

History
45 lines (32 loc) · 1.48 KB

ResponseService.md

File metadata and controls

45 lines (32 loc) · 1.48 KB

Meritoo Common Bundle

Common & useful classes, resources, extensions. Based on Symfony framework.

ResponseService

Located here: Meritoo\CommonBundle\Service\ResponseService. Serves response. Provides methods related to whole application.

Depends on services

  • router (Symfony\Component\Routing\RouterInterface)

Methods

getRedirectResponse()

Returns the "redirect response" that is used to redirect to url generated by given route and parameters.

Arguments:

  • $routeName: The name of the route. Used to build url used for redirection.
  • $routeParameters: (optional) An array of parameters. Used to build url used for redirection.

More

  1. Configuration
  2. Dependency Injection Extension
  3. Descriptor of application
  4. Descriptor of bundle
  5. Descriptors of bundles
  6. Services:
  7. Tests
  8. Translations
  9. Twig extensions:

‹ Back to Readme