PHP Class YetORM\Reflection\AnnotationProperty

Inheritance: extends EntityProperty
Afficher le fichier Open project: uestla/yetorm

Méthodes publiques

Méthode 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 méthode

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 méthode

public checkType ( mixed $value, boolean $need = TRUE ) : boolean
$value mixed
$need boolean
Résultat boolean

getColumn() public méthode

public getColumn ( ) : string
Résultat string

isNullable() public méthode

public isNullable ( ) : boolean
Résultat boolean

setType() public méthode

public setType ( mixed $value ) : mixed
$value mixed
Résultat mixed