1 | <?php |
||
5 | class Caller |
||
6 | { |
||
7 | /** |
||
8 | * Guess and return the object a feature is mixed into |
||
9 | * |
||
10 | * @throws \LogicException |
||
11 | * @return object |
||
12 | */ |
||
13 | 8 | public static function guess() |
|
25 | |||
26 | /** |
||
27 | * Determine if the guesser should ignore the passed object from the |
||
28 | * stack trace. |
||
29 | * |
||
30 | * @param $object |
||
31 | * |
||
32 | * @return bool |
||
33 | */ |
||
34 | 6 | private static function shouldIgnore($object) |
|
38 | } |
||
39 |