I know I’ve seen this somewhere but I can’t find it.
The code below only returns an array of 15 clients InvoiceNinja\Models\Client Object [0] - > [14]
$clients = Client::all();
$o = print_r($clients, true);
file_put_contents('/tmp/client.txt', $o);
I seem to remember that there’s something I needed to set to get them all, but I can’t remember what.
Any idea?
Thanks!
Terry