PHP Класс Webmozart\KeyValueStore\Api\NoSuchKeyException

С версии: 1.0
Автор: Bernhard Schussek ([email protected])
Наследование: extends RuntimeExceptio\RuntimeException
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
forKey ( string | integer $key, Exception $cause = null ) : static Creates an exception for a key that was not found.
forKeys ( array $keys, Exception $cause = null ) : static Creates an exception for multiple keys that were not found.

Описание методов

forKey() публичный статический Метод

Creates an exception for a key that was not found.
public static forKey ( string | integer $key, Exception $cause = null ) : static
$key string | integer The key that was not found.
$cause Exception The exception that caused this exception.
Результат static The created exception.

forKeys() публичный статический Метод

Creates an exception for multiple keys that were not found.
public static forKeys ( array $keys, Exception $cause = null ) : static
$keys array The keys that were not found.
$cause Exception The exception that caused this exception.
Результат static The created exception.