Skip to content

Commit 0543319

Browse files
committed
Update README.md
1 parent 8604d8f commit 0543319

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,8 @@ my_route:
6565
defaults: { _controller: MyBundle\Controller\ProductController:clearAction }
6666
```
6767
68+
**Careful!** Note that you need to use `:` as a separator, not `::` (else it will not go through the container).
69+
6870
Example with constructor injection:
6971

7072
```php
@@ -102,6 +104,8 @@ class ProductController
102104
}
103105
```
104106

107+
You can notice that you do not extend the `Controller` base class.
108+
105109

106110
## How it works
107111

0 commit comments

Comments
 (0)