Exemplo n.º 1
0
 public function get()
 {
     return parent::get();
 }
Exemplo n.º 2
0
 /**
  * @overrides post() from RestResource
  */
 public function post()
 {
     if (parent::post() !== false) {
         return new XMLFragmentRestResponse($this->putpost(RestMethodEnum::RM_POST), $this);
     } else {
         return false;
     }
 }