| Conditions | 1 |
| Paths | 1 |
| Total Lines | 6 |
| Code Lines | 3 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 26 | protected function getParameter($name) |
||
| 27 | { |
||
| 28 | @trigger_error('Getting parameters directly from the container is deprecated in KunstmaanAdminBundle 5.1 and will be removed in KunstmaanAdminBundle 6.0. Register your controllers as services and inject the necessary parameters.', E_USER_DEPRECATED); |
||
| 29 | |||
| 30 | return parent::getParameter($name); |
||
| 31 | } |
||
| 32 | } |
||
| 33 |
If you suppress an error, we recommend checking for the error condition explicitly: