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".
网友评论