| Total Complexity | 5 |
| Total Lines | 32 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 7 | trait DeprecationLogger |
||
| 8 | { |
||
| 9 | use LoggerAware; |
||
| 10 | |||
| 11 | protected function logDeprecation($message) |
||
| 18 | } |
||
| 19 | |||
| 20 | /** |
||
| 21 | * @param string $callee |
||
| 22 | * @param string $expectedCaller atm only the method name is supported |
||
| 23 | * @return void |
||
| 24 | */ |
||
| 25 | protected function logDeprecationUnlessCalledBy($expectedCaller) |
||
| 41 |