InvalidArgumentException
extends Exception
in package
implements
ExceptionInterface
FinalYes
Table of Contents
Interfaces
Methods
- dateIsExpired() : self
- emptyArgument() : self
- invalidType() : self
Methods
dateIsExpired()
public
static dateIsExpired(DateTimeInterface $date) : self
Parameters
- $date : DateTimeInterface
Return values
selfemptyArgument()
public
static emptyArgument(string $argumentName) : self
Parameters
- $argumentName : string
Return values
selfinvalidType()
public
static invalidType(string $argumentName, array<string|int, mixed> $validTypes) : self
Parameters
- $argumentName : string
- $validTypes : array<string|int, mixed>