public includeVendorContacts ( |
||
$vendor |
public function includeVendorContacts(Vendor $vendor)
{
$transformer = new VendorContactTransformer($this->account, $this->serializer);
return $this->includeCollection($vendor->vendor_contacts, $transformer, ENTITY_CONTACT);
}