1 | <?php |
||
18 | class AccessorWriter implements PropertyWriterInterface |
||
19 | { |
||
20 | |||
21 | /** |
||
22 | * @var PropertyAccessor |
||
23 | */ |
||
24 | protected $accessor; |
||
25 | |||
26 | /** |
||
27 | * AccessorWriter constructor. |
||
28 | * |
||
29 | * @param PropertyAccessorBuilder|null $builder |
||
30 | */ |
||
31 | public function __construct(PropertyAccessorBuilder $builder = null) |
||
39 | |||
40 | |||
41 | /** |
||
42 | * @inheritDoc |
||
43 | */ |
||
44 | public function isWritable($object, $propertyPath) |
||
48 | |||
49 | /** |
||
50 | * @inheritDoc |
||
51 | */ |
||
52 | public function setValue(&$object, $propertyPath, $value) |
||
56 | } |