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

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

공개 메소드들

메소드 설명
__construct ( mixed | null $default = null, boolean $nullable = true, array $options = [] )
defaultValue ( ) : float | null
deserialize ( $serializedValue ) : float
isNullable ( ) : boolean
isValid ( $value ) : boolean
name ( ) : string
options ( ) : array
serialize ( $value ) : string
type ( ) : Type

메소드 상세

__construct() 공개 메소드

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

defaultValue() 공개 메소드

public defaultValue ( ) : float | null
리턴 float | null

deserialize() 공개 메소드

public deserialize ( $serializedValue ) : float
$serializedValue
리턴 float

isNullable() 공개 메소드

public isNullable ( ) : boolean
리턴 boolean

isValid() 공개 메소드

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

name() 공개 메소드

public name ( ) : string
리턴 string

options() 공개 메소드

public options ( ) : array
리턴 array

serialize() 공개 메소드

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

type() 공개 메소드

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