Conditions | 4 |
Paths | 3 |
Total Lines | 15 |
Code Lines | 8 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
42 | public function extractCaller() |
||
43 | { |
||
44 | while ($this->valid()) { |
||
45 | $current = $this->current(); |
||
46 | |||
47 | if ( |
||
48 | isset($current['class']) |
||
49 | && !$this->skipCaller($current['class']) |
||
50 | ) { |
||
51 | return explode('\\', $current['class']); |
||
52 | } |
||
53 | } |
||
54 | |||
55 | return S::$n->modules->getStack()->getMaster(); |
||
56 | } |
||
57 | |||
72 |