Skip to content

Instantly share code, notes, and snippets.

@paramientos
Last active November 29, 2020 00:21
<?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