MissingMandatoryParametersException
extends InvalidArgumentException
in package
implements
ExceptionInterface
Exception thrown when a route cannot be generated because of missing mandatory parameters.
Tags
Table of Contents
Interfaces
- ExceptionInterface
- ExceptionInterface.
Properties
- $missingParameters : array<string|int, mixed>
- $routeName : string
Methods
- __construct() : mixed
- getMissingParameters() : array<string|int, string>
- getRouteName() : string
Properties
$missingParameters
private
array<string|int, mixed>
$missingParameters
= []
$routeName
private
string
$routeName
= ''
Methods
__construct()
public
__construct([string $routeName = '' ][, array<string|int, string> $missingParameters = null ][, int $code = 0 ][, Throwable|null $previous = null ]) : mixed
Parameters
- $routeName : string = ''
- $missingParameters : array<string|int, string> = null
- $code : int = 0
- $previous : Throwable|null = null
getMissingParameters()
public
getMissingParameters() : array<string|int, string>
Return values
array<string|int, string>getRouteName()
public
getRouteName() : string