public includeInvoices ( |
||
$client | ||
return | League\Fractal\Resource\Collection |
public function includeInvoices(Client $client)
{
$transformer = new InvoiceTransformer($this->account, $this->serializer, $client);
return $this->includeCollection($client->invoices, $transformer, ENTITY_INVOICE);
}