public function compose(View $view) { $clients = $this->clients->find($view->getData()['client']['id']); /** * [User assigned the client] * @var contact */ $contact = $clients->userAssignee; $view->with('contact', $contact); }