attributes->get('api_key'); if ($key instanceof ApiKey && $key->exists) { return $next($request); } return parent::handle($request, $next); } }