Skip to content

Commit

Permalink
- fix for documentation typos
Browse files Browse the repository at this point in the history
  • Loading branch information
Arthur Mogliev committed Nov 21, 2021
1 parent 3d04018 commit d304644
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion docs/attributing.md
Original file line number Diff line number Diff line change
Expand Up @@ -249,6 +249,7 @@ class Handler

## Build-in attributes
Library provides two attributes out of the box:

- `IdentifiableValueLoad` that uses [Data Transfer library](https://github.com/Articus/DataTransfer) to load some value by its identifier stored in request attribute
- `Transfer` that uses [Data Transfer library](https://github.com/Articus/DataTransfer) to construct DTO and fill it with request data only if this data is valid.

Expand All @@ -259,7 +260,8 @@ Add `Articus\DataTransfer\IdentifiableValueLoader` service inside your container
```PHP
namespace My;

use Articus\DataTransfer\IdentifiableValueLoader;use Psr\Container\ContainerInterface;
use Articus\DataTransfer\IdentifiableValueLoader;
use Psr\Container\ContainerInterface;

class LoaderFactory
{
Expand Down

0 comments on commit d304644

Please sign in to comment.