Skip to content

Commit

Permalink
Remove reference to symfony/dependency-injection v4
Browse files Browse the repository at this point in the history
  • Loading branch information
olvlvl committed Mar 13, 2020
1 parent 671609a commit 7be8ac0
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -115,16 +115,7 @@ many. For instance, if a service was an instance of `ArrayObject` the following
Don't know which interface to choose from for ArrayObject: IteratorAggregate, Traversable, ArrayAccess, Serializable, Countable.
```

We can specify which interface to implement using the `proxy` tag:

```yaml
ArrayObject:
lazy: true
tags:
- { name: proxy, interface: ArrayAccess }
```
And since `symfony/dependency-injection` v4.2 we can specify the interface to implement using the `lazy` attribute:
We can specify the interface to implement using the `lazy` attribute:

```yaml
ArrayObject:
Expand Down

0 comments on commit 7be8ac0

Please sign in to comment.