FormRequestErrorResponder
- Full name:
\Codefy\Framework\Http\Middleware\Request\FormRequestErrorResponder - This class is marked as final and can't be subclassed
- This class is a Final class
Properties
responseFactory
streamFactory
Methods
__construct
public __construct(\Psr\Http\Message\ResponseFactoryInterface $responseFactory, \Psr\Http\Message\StreamFactoryInterface $streamFactory): mixed
Parameters:
| Parameter | Type | Description |
|---|---|---|
$responseFactory | \Psr\Http\Message\ResponseFactoryInterface | |
$streamFactory | \Psr\Http\Message\StreamFactoryInterface |
unauthorized
validationFailed
Parameters:
| Parameter | Type | Description |
|---|---|---|
$errors | array |