Skip to content

Commit

Permalink
add doc: named routes
Browse files Browse the repository at this point in the history
  • Loading branch information
marriosdev committed Apr 25, 2024
1 parent 9110361 commit a9545ca
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,7 @@ class ControllerTeste
public function __construct()
{}


#[Route("/teste/{id}", "GET")]
#[Route("/teste/{id}", "GET", "route.name")]
public function teste($parameters)
{
echo $parameters->id;
Expand Down

0 comments on commit a9545ca

Please sign in to comment.