PHP Interface Storm\Core\Object\IDataProperty

Author: Elliot Levin ([email protected])
Inheritance: extends Storm\Core\Object\IProperty
Mostrar archivo Open project: timetoogo/penumbra

Public Methods

Method Description
GetValue ( object $Entity ) : mixed This method should be implemented such that it ges the value of the entity entity property
IsIdentity ( ) : boolean Whether or not the property is part of the entity's identity.
ReviveValue ( mixed $PropertyValue, object $Entity ) : void This method should be implemented such that it sets the value of the entity with the given property value

Method Details

GetValue() public method

This method should be implemented such that it ges the value of the entity entity property
public GetValue ( object $Entity ) : mixed
$Entity object The entity to get the value from
return mixed The property value

IsIdentity() public method

Whether or not the property is part of the entity's identity.
public IsIdentity ( ) : boolean
return boolean

ReviveValue() public method

This method should be implemented such that it sets the value of the entity with the given property value
public ReviveValue ( mixed $PropertyValue, object $Entity ) : void
$PropertyValue mixed The property value to set
$Entity object The entity
return void