Skip to content

Commit

Permalink
Add override doc.
Browse files Browse the repository at this point in the history
  • Loading branch information
Igor Nikolaev committed Jan 14, 2020
1 parent 5458c74 commit 73446ac
Showing 1 changed file with 41 additions and 0 deletions.
41 changes: 41 additions & 0 deletions Resources/doc/override.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
Override
========

## Configuration

```yaml
darvin_utils:
override:
DarvinECommerceBundle:
order:
entities:
- Order\Order
templates:
- admin/order
- order
product:
entities:
- Product
templates:
- product
```
## Usage
### Override all functionality
```shell script
$ bin/console darvin:utils:override product
```

### Override specific functionality

```shell script
$ bin/console darvin:utils:override product admin
```

### Specify bundle if subject name is ambiguous

```shell script
$ bin/console darvin:utils:override product -b DarvinECommerceBundle
```

0 comments on commit 73446ac

Please sign in to comment.