PHP Class YetORM\Reflection\EntityProperty

ファイルを表示 Open project: uestla/yetorm Class Usage Examples

Public Methods

Method Description
__construct ( EntityType $reflection, string $name, boolean $readonly, string $type, string $description = NULL )
getDescription ( ) : string | null
getEntityReflection ( ) : EntityType
getName ( ) : string
getType ( ) : string
hasDescription ( ) : boolean
isNativeType ( string $type ) : boolean
isOfNativeType ( ) : boolean
isReadonly ( ) : boolean

Method Details

__construct() public method

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

getDescription() public method

public getDescription ( ) : string | null
return string | null

getEntityReflection() public method

public getEntityReflection ( ) : EntityType
return EntityType

getName() public method

public getName ( ) : string
return string

getType() public method

public getType ( ) : string
return string

hasDescription() public method

public hasDescription ( ) : boolean
return boolean

isNativeType() public static method

public static isNativeType ( string $type ) : boolean
$type string
return boolean

isOfNativeType() public method

public isOfNativeType ( ) : boolean
return boolean

isReadonly() public method

public isReadonly ( ) : boolean
return boolean