PHP Interface Dumplie\Metadata\Schema\FieldDefinition

Mostra file Open project: dumplie/dumplie Interface Usage Examples

Public Methods

Method Description
defaultValue ( ) : mixed
deserialize ( $serializedValue ) : mixed
isNullable ( ) : boolean
isValid ( $value ) : boolean
name ( ) : string
options ( ) : array
serialize ( $value ) : string
type ( ) : Type

Method Details

defaultValue() public method

public defaultValue ( ) : mixed
return mixed

deserialize() public method

public deserialize ( $serializedValue ) : mixed
$serializedValue
return mixed

isNullable() public method

public isNullable ( ) : boolean
return boolean

isValid() public method

public isValid ( $value ) : boolean
$value
return boolean

name() public method

public name ( ) : string
return string

options() public method

public options ( ) : array
return array

serialize() public method

public serialize ( $value ) : string
$value
return string

type() public method

public type ( ) : Type
return Type