ValueObject SFO

A Value Object is a simple object that contains only values and no methods.  

Any object within this documentation that is given the name "Value Object" will be a single-use simple object.  

Value Objects are commonly used as $form fields to represent nested data.  Because these fields are tied to one particular form (each template uses a different $form object), UltraCart does not bother to document the actual type of object.  Instead, it is just referred to a plain Value Object.

 

See Also:

https://en.wikipedia.org/wiki/Value_object

http://c2.com/cgi/wiki?ValueObject