PHP 클래스 Webmozart\KeyValueStore\Api\NoSuchKeyException

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

공개 메소드들

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