fix markdown markup
This commit is contained in:
parent
c296159beb
commit
501fa51cdf
|
@ -22,22 +22,22 @@ Form
|
||||||
|
|
||||||
* Deprecated `PropertyPathMapper` in favor of `DataMapper` and `PropertyPathAccessor`.
|
* Deprecated `PropertyPathMapper` in favor of `DataMapper` and `PropertyPathAccessor`.
|
||||||
|
|
||||||
Before:
|
Before:
|
||||||
|
|
||||||
```php
|
```php
|
||||||
use Symfony\Component\Form\Extension\Core\DataMapper\PropertyPathMapper;
|
use Symfony\Component\Form\Extension\Core\DataMapper\PropertyPathMapper;
|
||||||
|
|
||||||
$builder->setDataMapper(new PropertyPathMapper());
|
$builder->setDataMapper(new PropertyPathMapper());
|
||||||
```
|
```
|
||||||
|
|
||||||
After:
|
After:
|
||||||
|
|
||||||
```php
|
```php
|
||||||
use Symfony\Component\Form\Extension\Core\DataAccessor\PropertyPathAccessor;
|
use Symfony\Component\Form\Extension\Core\DataAccessor\PropertyPathAccessor;
|
||||||
use Symfony\Component\Form\Extension\Core\DataMapper\DataMapper;
|
use Symfony\Component\Form\Extension\Core\DataMapper\DataMapper;
|
||||||
|
|
||||||
$builder->setDataMapper(new DataMapper(new PropertyPathAccessor()));
|
$builder->setDataMapper(new DataMapper(new PropertyPathAccessor()));
|
||||||
```
|
```
|
||||||
|
|
||||||
HttpFoundation
|
HttpFoundation
|
||||||
--------------
|
--------------
|
||||||
|
|
Reference in New Issue