Beispiel #1
0
 /**
  * {@inheritdoc}
  */
 protected function endpoint()
 {
     if (!empty($endpoint = parent::endpoint())) {
         //Endpoint specified by user
         return $endpoint;
     }
     //We are using router as default endpoint
     return $this->router();
 }
Beispiel #2
0
 /**
  * {@inheritdoc}
  */
 protected function endpoint()
 {
     if (!empty($endpoint = parent::endpoint())) {
         //Endpoint specified by user
         return $endpoint;
     }
     return $this->router();
 }