| 1 | <?php |
||
| 11 | class BackTraceCallerPositionFinder implements Interfaces\CallerPositionFinder |
||
| 12 | { |
||
| 13 | /** |
||
| 14 | * @var int |
||
| 15 | */ |
||
| 16 | private $deep; |
||
| 17 | |||
| 18 | /** |
||
| 19 | * BackTraceCallerPositionFinder constructor. |
||
| 20 | * |
||
| 21 | * @param int $deep |
||
| 22 | */ |
||
| 23 | public function __construct($deep = 4) |
||
| 28 | |||
| 29 | |||
| 30 | /** |
||
| 31 | * @return CallerPosition |
||
| 32 | * @throws Exceptions\CallerResolverException |
||
| 33 | */ |
||
| 34 | public function getCallerPosition() |
||
| 40 | |||
| 41 | /** |
||
| 42 | * @return mixed |
||
| 43 | * @throws Exceptions\CallerResolverException |
||
| 44 | */ |
||
| 45 | public function findCaller() |
||
| 56 | } |