Esempio n. 1
0
 /**
  * public map
  * Match a resoure to a method in this class route
  * @return<void>
  */
 public function map()
 {
     $this->headers = Headers::Get();
     $this->uri = Headers::GetRequestUri();
     $this->method = Headers::GetRequestMethod();
     $this->params = $this->getRequestParams();
     $this->format = Headers::GetRequestFormat($this->params);
     return $this;
 }