PropertyValueSetterInterface
in
Provides a way to *extract* the value of a property.
The extracted value can be used in a configuration (i.e. validation, formatting, etc.).
Table of Contents
- withPropVal() : static
- Immutably sets the `$val` to the value of the given property.
Methods
withPropVal()
Immutably sets the `$val` to the value of the given property.
public
withPropVal(ReflectionProperty $prop, object $obj) : static
Parameters
- $prop : ReflectionProperty
- $obj : object