public function __construct($path, $httpMethod = HttpMethods::GET, $handlerMethod = null) { $this->path = $path; $this->httpMethod = $httpMethod; $this->handlerMethod = $handlerMethod; }