Method |
Description |
|
__construct ( $name, $type ) |
Constructor |
|
__toString ( ) |
Returns the name of the property |
|
defaultValue ( ) |
Returns the default value for a property, or NULL |
|
getter ( $key ) : closure |
Return a closure for accessing the value of the property |
|
hasDefaultValue ( ) : boolean |
Returns a bool for whether the property has a default value |
|
reference ( $object ) : PropertyReference |
Returns a reference to the property value of a specific object |
|
setter ( $key ) : closure |
Return a closure that when called sets the value of the property |
|