-
-
Notifications
You must be signed in to change notification settings - Fork 5.2k
[testing] tell about self::$container #9974
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
testing.rst
Outdated
.. tip:: | ||
|
||
The special container that gives access to private services exists only in | ||
the ``test` environment and is itself a service that you can accessed from |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Missing a backpack here:
- ``test`
+ ``test``
testing.rst
Outdated
.. tip:: | ||
|
||
If the information you need to check is available from the profiler, use | ||
it instead. | ||
|
||
.. versionadded:: 4.1 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you please move this directive before line 511?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixed
40b7347
to
e64d89d
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
This PR was merged into the 4.1 branch. Discussion ---------- [testing] tell about self::$container Fixes #9455. Same as https://symfony.com/blog/new-in-symfony-4-1-simpler-service-testing Commits ------- e64d89d [testing] tell about self::$container
Thanks Nicolas! |
Fixes #9455.
Same as https://symfony.com/blog/new-in-symfony-4-1-simpler-service-testing