Commit 2713169
committed
minor #12617 Update best_practices.rst (amine-betari)
This PR was squashed before being merged into the 4.3 branch (closes #12617).
Discussion
----------
Update best_practices.rst
// there is a public "router" service in the container
$router = $this->container->get('router');
// this will not Work: MailLogger is a private service
$mailLogger = $this->container->get(MailLogger::class);
Commits
-------
fcddead Update best_practices.rst1 file changed
+1
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
234 | 234 | | |
235 | 235 | | |
236 | 236 | | |
237 | | - | |
238 | | - | |
| 237 | + | |
239 | 238 | | |
240 | 239 | | |
241 | 240 | | |
| |||
0 commit comments