hasPermission($permission)) { throw new PermissionMissingException($request, $permission); } } } }