public function compose($view) { $this->role->pushCriteria(new RoleOrderCriteria()); $view->roles = $this->role->all(); }