public function includeContacts(Client $client) { $transformer = new ContactTransformer($this->account, $this->serializer); return $this->includeCollection($client->contacts, $transformer, ENTITY_CONTACT); }