Esempio n. 1
0
 /**
  * Include User
  *
  * @param Person $person
  * @return \League\Fractal\Resource\Item
  */
 public function includeUser(Person $person)
 {
     return $this->item($person->getUser(), new UserTransformer());
 }