fix markdown markup

This commit is contained in:
Christian Flothmann 2021-07-02 16:57:58 +02:00
parent c296159beb
commit 501fa51cdf
1 changed files with 11 additions and 11 deletions

View File

@ -22,22 +22,22 @@ Form
* Deprecated `PropertyPathMapper` in favor of `DataMapper` and `PropertyPathAccessor`.
Before:
Before:
```php
use Symfony\Component\Form\Extension\Core\DataMapper\PropertyPathMapper;
```php
use Symfony\Component\Form\Extension\Core\DataMapper\PropertyPathMapper;
$builder->setDataMapper(new PropertyPathMapper());
```
$builder->setDataMapper(new PropertyPathMapper());
```
After:
After:
```php
use Symfony\Component\Form\Extension\Core\DataAccessor\PropertyPathAccessor;
use Symfony\Component\Form\Extension\Core\DataMapper\DataMapper;
```php
use Symfony\Component\Form\Extension\Core\DataAccessor\PropertyPathAccessor;
use Symfony\Component\Form\Extension\Core\DataMapper\DataMapper;
$builder->setDataMapper(new DataMapper(new PropertyPathAccessor()));
```
$builder->setDataMapper(new DataMapper(new PropertyPathAccessor()));
```
HttpFoundation
--------------