Exemplo n.º 1
0
 /**
  * Get the base resource
  *
  * @return string
  */
 protected function getRelatedBaseResource()
 {
     return $this->related->getBaseResource();
 }
Exemplo n.º 2
0
 protected function updateAttachmentsToModel($response)
 {
     $model = $this->initModelFromRelation($this->postResource);
     $this->model->setAttribute($this->postResource, $this->getCollectionFromResponse($response, $model));
 }