PHP 클래스 Webmozart\Json\Migration\UnsupportedVersionException

부터: 1.3
저자: Bernhard Schussek ([email protected])
상속: extends Webmozart\Json\Conversion\ConversionFailedException
파일 보기 프로젝트 열기: webmozart/json 1 사용 예제들

공개 메소드들

메소드 설명
forVersion ( string $version, array $knownVersions, Exception $cause = null ) : static Creates an exception for an unknown version.

메소드 상세

forVersion() 공개 정적인 메소드

Creates an exception for an unknown version.
public static forVersion ( string $version, array $knownVersions, Exception $cause = null ) : static
$version string The version that caused the exception
$knownVersions array The known versions
$cause Exception The exception that caused this exception
리턴 static The created exception