RSI helpers  0.1
RSI helpers
Value Class Reference

Basic value object. More...

Inheritance diagram for Value:
Thing

Public Member Functions

 __construct ($value)
 
 __invoke ($value=null)
 
- Public Member Functions inherited from Thing
 propertyExists ($property)
 Check if a property exists (public or published). More...
 
 constants ($prefix=null)
 Return all constants. More...
 
 get ($key)
 Get one or more properties. More...
 
 set ($key, $value=null)
 Set one or more properties. More...
 
 __get ($key)
 
 __set ($key, $value)
 

Protected Member Functions

 setValue ($value)
 
 getValue ()
 
- Protected Member Functions inherited from Thing
 publish ($property, $visibility=self::READABLE)
 Publish a property (or hide it again). More...
 
 configure ($config)
 Configure the object. More...
 
 _get ($key)
 Default getter if no specific setter is defined, and the property is also not published (readable). More...
 
 _set ($key, $value)
 Default setter if no specific setter is defined, and the property is also not published (writeable). More...
 

Protected Attributes

 $_value = null
 
- Protected Attributes inherited from Thing
 $_published = []
 Published properties (key = name of property, value = visibility). More...
 

Additional Inherited Members

- Data Fields inherited from Thing
const HIDDEN = 0
 Property is hidden. More...
 
const READABLE = 1
 Property is readable. More...
 
const WRITEABLE = 2
 Property is writeable. More...
 
const READWRITE = 3
 Property is readable and writeable. More...
 

Detailed Description

Basic value object.

Definition at line 8 of file Value.php.

Constructor & Destructor Documentation

◆ __construct()

__construct (   $value)

Definition at line 12 of file Value.php.

Member Function Documentation

◆ __invoke()

__invoke (   $value = null)

Definition at line 24 of file Value.php.

◆ getValue()

getValue ( )
protected

Definition at line 20 of file Value.php.

◆ setValue()

setValue (   $value)
protected

Definition at line 16 of file Value.php.

Field Documentation

◆ $_value

$_value = null
protected

Definition at line 10 of file Value.php.


The documentation for this class was generated from the following file: