PHP 클래스 Dumplie\Metadata\Schema\Field\AssociationField

상속: implements Dumplie\Metadata\Schema\AssociationFieldDefinition
파일 보기 프로젝트 열기: dumplie/dumplie

공개 메소드들

메소드 설명
__construct ( string $schema, TypeSchema $typeSchema, boolean $nullable = false, array $options = [] )
defaultValue ( ) : null
deserialize ( string $serializedValue ) : null | Association
isNullable ( ) : boolean
isValid ( $value ) : boolean
name ( ) : string
options ( ) : array
schema ( ) : string
serialize ( $value ) : string
type ( ) : Type
typeSchema ( ) : TypeSchema

메소드 상세

__construct() 공개 메소드

public __construct ( string $schema, TypeSchema $typeSchema, boolean $nullable = false, array $options = [] )
$schema string
$typeSchema Dumplie\Metadata\Schema\TypeSchema
$nullable boolean
$options array

defaultValue() 공개 메소드

public defaultValue ( ) : null
리턴 null

deserialize() 공개 메소드

public deserialize ( string $serializedValue ) : null | Association
$serializedValue string
리턴 null | Dumplie\Metadata\Association

isNullable() 공개 메소드

public isNullable ( ) : boolean
리턴 boolean

isValid() 공개 메소드

public isValid ( $value ) : boolean
$value
리턴 boolean

name() 공개 메소드

public name ( ) : string
리턴 string

options() 공개 메소드

public options ( ) : array
리턴 array

schema() 공개 메소드

public schema ( ) : string
리턴 string

serialize() 공개 메소드

public serialize ( $value ) : string
$value
리턴 string

type() 공개 메소드

public type ( ) : Type
리턴 Dumplie\Metadata\Schema\Type

typeSchema() 공개 메소드

public typeSchema ( ) : TypeSchema
리턴 Dumplie\Metadata\Schema\TypeSchema