Skip to content

Commit

Permalink
fix doc
Browse files Browse the repository at this point in the history
  • Loading branch information
alexpts committed Feb 16, 2020
1 parent e402316 commit e6d7eaa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -105,10 +105,10 @@ $rules = [
];
$rules = $normalizer->normalize($rules);

$model = $extractor->hydrate($dto, Model::class, $rules);
$model = $hydrator->hydrate($dto, Model::class, $rules);

$model2 = new Model;
$extractor->hydrateModel($dto, $model2, $rules);
$hydrator->hydrateModel($dto, $model2, $rules);
```

Правила гидрации точно такие же как и у extractor сущности.
Expand Down

0 comments on commit e6d7eaa

Please sign in to comment.