Harmonious Development with Symfony 6
Smart Routes: GET-only & Validate {Wildcards}
  Unlock this challenge
Login Register

Challenge 1 / 1

Check out this route: #[Route('/api/articles/{id}')].

How could we best guarantee that the {id} part of the URL is a number?

Skip challenges and go to theNext Chapter

Turn Challenges Off?

All further challenges will be skipped automatically.
You can re-enable challenges at any time on this page or from your account page.