public function __construct($method) { $this->method = $method; $this->verb = $this->getVerb($method); }