PHP Class Dumplie\Metadata\Schema\Field\MapField

Inheritance: implements Dumplie\Metadata\Schema\FieldDefinition
Datei anzeigen Open project: dumplie/dumplie

Public Methods

Method Description
__construct ( array $default = null, boolean $nullable = true, array $options = [] )
defaultValue ( ) : array | null
deserialize ( $serializedValue ) : array
isNullable ( ) : boolean
isValid ( $value ) : boolean
name ( ) : string
options ( ) : array
serialize ( $value ) : string
type ( ) : Type

Method Details

__construct() public method

public __construct ( array $default = null, boolean $nullable = true, array $options = [] )
$default array
$nullable boolean
$options array

defaultValue() public method

public defaultValue ( ) : array | null
return array | null

deserialize() public method

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

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 Dumplie\Metadata\Schema\Type