Conditions | 1 |
Paths | 1 |
Total Lines | 6 |
Code Lines | 3 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
14 | protected function get($id) |
||
15 | { |
||
16 | @trigger_error('Getting services 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 dependencies.', E_USER_DEPRECATED); |
||
|
|||
17 | |||
18 | return parent::get($id); |
||
19 | } |
||
20 | |||
33 |
If you suppress an error, we recommend checking for the error condition explicitly: