hasPermission('admin'); } /** * @param User $user * @return bool */ public function create(User $user) { return $user->hasPermission('admin'); } }