Symfony\Component\PropertyAccess\PropertyAccessor::readProperty
Reads the a property from an object or array.
Signature
Parameters
$object
— object- The object to read from.
$property
— string- The property to read.
Returns
- mixed
- The value of the read property
Errors/Exceptions
-
NoSuchPropertyException
- If the property does not exist or is not