Отформатировал readme
This commit is contained in:
parent
5ece49e330
commit
b0dcc72824
@ -49,7 +49,7 @@ class HelloRequest
|
|||||||
use Rinsvent\Data2DTO\Data2DtoConverter;
|
use Rinsvent\Data2DTO\Data2DtoConverter;
|
||||||
|
|
||||||
$data2DtoConverter = new Data2DtoConverter();
|
$data2DtoConverter = new Data2DtoConverter();
|
||||||
$dto = $data2DtoConverter->convert([
|
$dto = $data2DtoConverter->convert([
|
||||||
'surname' => ' asdf',
|
'surname' => ' asdf',
|
||||||
'fake_age' => 3,
|
'fake_age' => 3,
|
||||||
'emails' => [
|
'emails' => [
|
||||||
@ -75,6 +75,6 @@ $data2DtoConverter = new Data2DtoConverter();
|
|||||||
'barField' => 32
|
'barField' => 32
|
||||||
],
|
],
|
||||||
'extraData1' => 'qwer'
|
'extraData1' => 'qwer'
|
||||||
], HelloRequest::class);
|
], HelloRequest::class);
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user