You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+8-2Lines changed: 8 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -3,7 +3,9 @@
3
3
## What does it do?
4
4
5
5
* Provides correct return type for `ContainerInterface::get()` method,
6
-
* screams at you when you try to get unknown or private service from the container.
6
+
* provides correct return type for `Controller::get()` method,
7
+
* notifies you when you try to get an unregistered service from the container,
8
+
* notifies you when you try to get a private service from the container.
7
9
8
10
## Installation
9
11
@@ -25,6 +27,10 @@ parameters:
25
27
26
28
## Limitations
27
29
28
-
It can only recognize pure strings or `::class` constants passed into `ContainerInterface::get()` method. This follows from the nature of static code analysis.
30
+
It can only recognize pure strings or `::class` constants passed into `get()` method. This follows from the nature of static code analysis.
29
31
30
32
You have to provide a path to `srcDevDebugProjectContainer.xml` or similar xml file describing your container.
33
+
34
+
## Need something?
35
+
36
+
I don't use Symfony that often. So it might be entirely possible that something doesn't work here or that it lacks some functionality. If that's the case, **PLEASE DO NOT HESITATE** to open an issue or send a pull request. I will have a look at it and together we'll get you what you need. Thanks.
0 commit comments