Registry /
utility / neos-utility-objecthandling
Install & Compatibility
Where this runs
No compatibility data collected yet for this library.
Code
Verified usage
Verified import paths — ran on the pinned version, not inferred.
ObjectAccess
✓ use Neos\Utility\ObjectHandling\ObjectAccess;
Access and manipulate object properties dynamically
use Neos\Utility\ObjectHandling\ObjectAccess;
$object = new stdClass();
$object->name = 'John';
$name = ObjectAccess::getProperty($object, 'name');
echo $name; // John
ObjectAccess::setProperty($object, 'age', 30);
var_dump($object->age); // 30
Debug
Known issues
No known issues recorded.
Audit
Dependencies
No dependency data recorded yet.