SecuritySchemeNotFound
Less than 1 minute
SecuritySchemeNotFound
Thrown when a #[Security('name')] attribute references a scheme name that isn't declared in
class SecuritySchemeNotFound extends \Hazaar\ExceptionExtends: Hazaar\Exception
the app's openapi.securitySchemes config catalog.
This is a deliberate build-time failure rather than a silent omission — see Hazaar\OpenApi\Attribute\Security.
Methods
__construct
public __construct(string $schemeName, string $controllerClass, string $method): voidParameters
| Parameter | Type | Description |
|---|---|---|
$schemeName | string | |
$controllerClass | string | |
$method | string |
Generated by Hazaar API Doc Generator on Fri, 04 Sep 2026 23:32:16 +0000