public function __construct($method, $uri) { $this->uri = $uri; $this->method = strtoupper($method); }