/** * Bind grants to view. * * @param \Illuminate\View\View $view */ public function compose($view) { $view->with('grants', $this->grants->all()); }