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

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

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

Метод Описание
forType ( string $type, Webmozart\KeyValueStore\Api\KeyValueStore $store, integer $code, Exception $cause = null ) : static Creates a new exception for the given value type.
forValue ( string $value, Webmozart\KeyValueStore\Api\KeyValueStore $store, integer $code, Exception $cause = null ) : static Creates a new exception for the given value.

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

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

Creates a new exception for the given value type.
public static forType ( string $type, Webmozart\KeyValueStore\Api\KeyValueStore $store, integer $code, Exception $cause = null ) : static
$type string The name of the unsupported type.
$store Webmozart\KeyValueStore\Api\KeyValueStore The store that does not support the type.
$code integer The exception code.
$cause Exception The exception that caused this exception.
Результат static The new exception.

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

Creates a new exception for the given value.
public static forValue ( string $value, Webmozart\KeyValueStore\Api\KeyValueStore $store, integer $code, Exception $cause = null ) : static
$value string The unsupported value.
$store Webmozart\KeyValueStore\Api\KeyValueStore The store that does not support the type.
$code integer The exception code.
$cause Exception The exception that caused this exception.
Результат static The new exception.