Symfony PropertyAccessor
2020-10-18 本文已影响0人
forks1990
Update array like property
Two method:
- use
setter
method to replace the whole array object - use
adder
,remover
help method to merge the two collection
It will failed with fowling exception if no setter
and no adder
/'remover` methods:
Could not determine access type for property "PropertyName" in class "App\Foo\BarClass".