Last active
November 29, 2020 00:21
-
-
Save paramientos/064c83675c87fd8448acefb7b1e43e79 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use \Attribute; | |
class UserController | |
{ | |
#[Route('api/users', ['Methods' : ['GET']])] | |
public function getUsers() | |
{ | |
// ... | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment