Route class Siler example of using classes as route endpoints. php -S localhost:8000 index.php ~ curl http://localhost:8000/todos GET request to /todos ~ curl -X POST http://localhost:8000/todos POST request to /todos