Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
Some typos, word shuffling.
  • Loading branch information
Gappa authored and f3l1x committed Jan 29, 2020
1 parent 313ce44 commit 5e72e27
Showing 1 changed file with 14 additions and 14 deletions.
28 changes: 14 additions & 14 deletions .docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,16 +35,16 @@ extensions:
## Configuration
By default are all behaviors disabled, you have to enable them.
By default all behaviors are disabled, you have to enable them.
Most of the behaviors include a subscriber.
If you use [nettrine/dbal](https://github.com/nettrine/dbal) then they are configured automatically.
Otherwise you have to add them to event manager.
Otherwise you have to add them to the Event manager.
Behaviors blameable, geocodable, sluggable, softDeletable, sortable, timestampable, translatable and tree
have option `trait` (or `*Trait`) which allows you to swap behavior implementation.
Behaviors `blameable`, `geocodable`, `sluggable`, `softDeletable`, `sortable`, `timestampable`, `translatable` and `tree`
have option `trait` (or `*Trait`) which allows you to swap the implementation.

Behaviors blameable, geocodable, loggable and translatable accepts a callable. You may use all of following syntaxes:
Behaviors `blameable`, `geocodable`, `loggable` and `translatable` accept a `callable`. You may use all of following syntaxes:

```yaml
# Static method call (or any other valid callable, like 'someFunction')
Expand All @@ -56,7 +56,7 @@ exampleCallable: [@service, 'calledMethod'],
# Reference to service which implements __invoke()
exampleCallable: @serviceWhichImplements__invoke()
# Register and use new service which implements __invoke(), like you would do in 'services' config section
# Register and use new service which implements __invoke(), like you would in 'services' config section
exampleCallable:
factory: Your\Special\Service
```
Expand All @@ -70,7 +70,7 @@ nettrine.extensions.knplabs:
blameable: true
```

Or, if you want add additional options
Or, if you want to add additional options

```yaml
nettrine.extensions.knplabs:
Expand Down Expand Up @@ -141,7 +141,7 @@ nettrine.extensions.knplabs:
geocodable: true
```

Or, if you want add additional options
Or, if you want to add additional options

```yaml
nettrine.extensions.knplabs:
Expand Down Expand Up @@ -229,7 +229,7 @@ nettrine.extensions.knplabs:
sluggable: true
```

Or, if you want add additional options
Or, if you want to add additional options

```yaml
nettrine.extensions.knplabs:
Expand Down Expand Up @@ -265,7 +265,7 @@ nettrine.extensions.knplabs:
softDeletable: true
```

Or, if you want add additional options
Or, if you want to add additional options

```yaml
nettrine.extensions.knplabs:
Expand Down Expand Up @@ -296,7 +296,7 @@ nettrine.extensions.knplabs:
sortable: true
```

Or, if you want add additional options
Or, if you want to add additional options

```yaml
nettrine.extensions.knplabs:
Expand Down Expand Up @@ -341,7 +341,7 @@ nettrine.extensions.knplabs:
timestampable: true
```

Or, if you want add additional options
Or, if you want to add additional options

```yaml
nettrine.extensions.knplabs:
Expand Down Expand Up @@ -373,7 +373,7 @@ nettrine.extensions.knplabs:
translatable: true
```

Or, if you want add additional options
Or, if you want to add additional options

```yaml
nettrine.extensions.knplabs:
Expand Down Expand Up @@ -409,7 +409,7 @@ nettrine.extensions.knplabs:
tree: true
```

Or, if you want add additional options
Or, if you want to add additional options

```yaml
nettrine.extensions.knplabs:
Expand Down

0 comments on commit 5e72e27

Please sign in to comment.