InvalidArgumentException
extends CacheException
in package
implements
InvalidArgumentException, InvalidArgumentException
Exception interface for invalid cache arguments.
Any time an invalid argument is passed into a method it must throw an exception class which implements Psr\Cache\InvalidArgumentException.
Interfaces, Classes, Traits and Enums
- InvalidArgumentException
- InvalidArgumentException
Table of Contents
- __construct() : mixed
- Constructor
Methods
__construct()
Constructor
public
__construct([string $message = 'Cache key must be a string.' ], int $code[, Exception $previous = NULL ]) : mixed
Parameters
- $message : string = 'Cache key must be a string.'
- $code : int
- $previous : Exception = NULL