File tree 1 file changed +11
-11
lines changed
1 file changed +11
-11
lines changed Original file line number Diff line number Diff line change 22
22
23
23
* Deprecated ` PropertyPathMapper ` in favor of ` DataMapper ` and ` PropertyPathAccessor ` .
24
24
25
- Before:
25
+ Before:
26
26
27
- ``` php
28
- use Symfony\Component\Form\Extension\Core\DataMapper\PropertyPathMapper;
27
+ ``` php
28
+ use Symfony\Component\Form\Extension\Core\DataMapper\PropertyPathMapper;
29
29
30
- $builder->setDataMapper(new PropertyPathMapper());
31
- ```
30
+ $builder->setDataMapper(new PropertyPathMapper());
31
+ ```
32
32
33
- After:
33
+ After:
34
34
35
- ``` php
36
- use Symfony\Component\Form\Extension\Core\DataAccessor\PropertyPathAccessor;
37
- use Symfony\Component\Form\Extension\Core\DataMapper\DataMapper;
35
+ ``` php
36
+ use Symfony\Component\Form\Extension\Core\DataAccessor\PropertyPathAccessor;
37
+ use Symfony\Component\Form\Extension\Core\DataMapper\DataMapper;
38
38
39
- $builder->setDataMapper(new DataMapper(new PropertyPathAccessor()));
40
- ```
39
+ $builder->setDataMapper(new DataMapper(new PropertyPathAccessor()));
40
+ ```
41
41
42
42
HttpFoundation
43
43
--------------
You can’t perform that action at this time.
0 commit comments