PHP 클래스 Webmozart\KeyValueStore\Api\UnsupportedValueException

부터: 1.0
저자: Bernhard Schussek ([email protected])
상속: extends RuntimeExceptio\RuntimeException
파일 보기 프로젝트 열기: webmozart/key-value-store 1 사용 예제들

공개 메소드들

메소드 설명
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.