PHP 클래스 Dumplie\Metadata\Exception\InvalidArgumentException

상속: extends Exception
파일 보기 프로젝트 열기: dumplie/dumplie 1 사용 예제들

공개 메소드들

메소드 설명
emptyValue ( string $value ) : InvalidArgumentException
expected ( string $expectedType, $receivedValue ) : InvalidArgumentException
fieldNameAlreadyExists ( string $fieldName, string $model ) : InvalidArgumentException
invalidMetadata ( Metadata $metadata, TypeSchema $model ) : InvalidArgumentException
metadataFieldNotFound ( string $modelName, string $field, MetadataId $id ) : InvalidArgumentException
unexpectedModel ( string $expected, string $received ) : InvalidArgumentException

메소드 상세

emptyValue() 공개 정적인 메소드

public static emptyValue ( string $value ) : InvalidArgumentException
$value string
리턴 InvalidArgumentException

expected() 공개 정적인 메소드

public static expected ( string $expectedType, $receivedValue ) : InvalidArgumentException
$expectedType string
$receivedValue
리턴 InvalidArgumentException

fieldNameAlreadyExists() 공개 정적인 메소드

public static fieldNameAlreadyExists ( string $fieldName, string $model ) : InvalidArgumentException
$fieldName string
$model string
리턴 InvalidArgumentException

invalidMetadata() 공개 정적인 메소드

public static invalidMetadata ( Metadata $metadata, TypeSchema $model ) : InvalidArgumentException
$metadata Dumplie\Metadata\Metadata
$model Dumplie\Metadata\Schema\TypeSchema
리턴 InvalidArgumentException

metadataFieldNotFound() 공개 정적인 메소드

public static metadataFieldNotFound ( string $modelName, string $field, MetadataId $id ) : InvalidArgumentException
$modelName string
$field string
$id Dumplie\Metadata\MetadataId
리턴 InvalidArgumentException

unexpectedModel() 공개 정적인 메소드

public static unexpectedModel ( string $expected, string $received ) : InvalidArgumentException
$expected string
$received string
리턴 InvalidArgumentException