< Ω Skill Recommendation: Symfony

Route Parameters

HTL Rennweg

Show in app

Description

Passing variables to controllers with the help of route parameters.

Goals

I know

  • how variable parts of routes are used as variables in controllers
  • how and where to define parameter validation
  • what optional parameters are
  • what parameter conversion is

I can

  • define variable parts of routes to be used as variables in controllers
  • validate a parameter for a given route
  • define and make use of optional parameters
  • make use of parameter conversion