Writes and reads values to/from an object/array graph.
- author Bernhard Schussek
Methods |
public abstract getValue(object|array $objectOrArray, Symfony Returns the value at the end of the property path of the object graph. Example:
This method first tries to find a public getter for each property in the If the getter does not exist, this method tries to find a public If none of them are found, an exception is thrown.
|
public abstract isReadable(object|array $objectOrArray, Symfony Returns whether a property path can be read from an object graph. Whenever this method returns true, {@link getValue()} is guaranteed not
|
public abstract isWritable(object|array $objectOrArray, Symfony Returns whether a value can be written at a given property path. Whenever this method returns true, {@link setValue()} is guaranteed not
|
public abstract setValue(object|array $objectOrArray, Symfony Sets the value at the end of the property path of the object graph. Example:
This method first tries to find a public setter for each property in the If the setter does not exist, this method tries to find a public If neither is found, an exception is thrown.
|