PHP Class Webmozart\KeyValueStore\Api\InvalidKeyException

Since: 1.0
Author: Bernhard Schussek ([email protected])
Inheritance: extends RuntimeExceptio\RuntimeException
Afficher le fichier Open project: webmozart/key-value-store Class Usage Examples

Méthodes publiques

Méthode Description
forKey ( mixed $key, Exception $cause = null ) : static Creates an exception for an invalid key.

Method Details

forKey() public static méthode

Creates an exception for an invalid key.
public static forKey ( mixed $key, Exception $cause = null ) : static
$key mixed The invalid key.
$cause Exception The exception that caused this exception.
Résultat static The created exception.