Skip to content

Commit

Permalink
Installation doc
Browse files Browse the repository at this point in the history
  • Loading branch information
starychfojtu committed Jun 18, 2017
1 parent 3743f6f commit cf47162
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,12 @@ Implementation of View Components for Symfony 3.3
$ composer require starychfojtu/viewcomponent
```

Symfony flex might register incorrect namespace in bundles.php. If it did,
go ahead and register it yourself with
```php
'ViewComponent\ViewComponentBundle' => ['all' => true]
```

# Configuration

```yaml
Expand Down Expand Up @@ -94,4 +100,4 @@ class MenuViewComponent implements ViewComponentInterface

To pass any dependencies to the component, just register them as services.

TODO: register them automatically in bundle
TODO: register them automatically in bundle

0 comments on commit cf47162

Please sign in to comment.