public includeContacts ( |
||
$client | ||
Результат | League\Fractal\Resource\Collection |
public function includeContacts(Client $client)
{
$transformer = new ContactTransformer($this->account, $this->serializer);
return $this->includeCollection($client->contacts, $transformer, ENTITY_CONTACT);
}