public function compose(View $view) { $invoices = $this->invoices->find($view->getData()['invoice']['id']); $client = $invoices->clients->first(); $view->with('client', $client); }