PHP Class YetORM\Reflection\AnnotationProperty

Inheritance: extends EntityProperty
Mostra file Open project: uestla/yetorm

Public Methods

Method Description
__construct ( EntityType $reflection, string $name, boolean $readonly, string $type, string $column, boolean $nullable, string $description = NULL )
checkType ( mixed $value, boolean $need = TRUE ) : boolean
getColumn ( ) : string
isNullable ( ) : boolean
setType ( mixed $value ) : mixed

Method Details

__construct() public method

public __construct ( EntityType $reflection, string $name, boolean $readonly, string $type, string $column, boolean $nullable, string $description = NULL )
$reflection EntityType
$name string
$readonly boolean
$type string
$column string
$nullable boolean
$description string

checkType() public method

public checkType ( mixed $value, boolean $need = TRUE ) : boolean
$value mixed
$need boolean
return boolean

getColumn() public method

public getColumn ( ) : string
return string

isNullable() public method

public isNullable ( ) : boolean
return boolean

setType() public method

public setType ( mixed $value ) : mixed
$value mixed
return mixed