Access object's properties (and subproperties) using dot path notation.
The following are equivalent.
echo $obj->property1;
echo $obj->getProperty1();
echo $obj['property1']; //$obj may be an array or object
echo TPropertyAccess($obj, 'property1');
Setting a property value.
$obj1->propert1 = 'hello';
$obj->setProperty('hello');
$obj['property1'] = 'hello'; //$obj may be an array or object
TPropertyAccess($obj, 'property1', 'hello');
Subproperties are supported using the dot notation. E.g.
echo $obj->property1->property2->property3
echo TPropertyAccess::get($obj, 'property1.property2.property3');