1 | <?php |
||
9 | class BacktraceSniffer { |
||
10 | |||
11 | /** |
||
12 | * @var integer |
||
13 | */ |
||
14 | private $depth = 1; |
||
15 | |||
16 | /** |
||
17 | * @since 2.0 |
||
18 | * |
||
19 | * @param integer $depth |
||
20 | */ |
||
21 | 5 | public function __construct( $depth = 1 ) { |
|
24 | |||
25 | /** |
||
26 | * @see MediaWiki::wfGetCaller |
||
27 | * @since 2.0 |
||
28 | * |
||
29 | * @return $string |
||
|
|||
30 | */ |
||
31 | 2 | public function getCaller( $depth = null ) { |
|
42 | |||
43 | /** |
||
44 | * @see MediaWiki::wfGetCallers |
||
45 | * @since 2.0 |
||
46 | * |
||
47 | * @return array |
||
48 | */ |
||
49 | 2 | public function getCallers( $depth = null ) { |
|
63 | |||
64 | 4 | private function doFormatStackFrame( $frame ) { |
|
67 | |||
68 | 4 | private function getBackTrace( $limit = 0 ) { |
|
81 | |||
82 | } |
||
83 |
This check marks PHPDoc comments that could not be parsed by our parser. To see which comment annotations we can parse, please refer to our documentation on supported doc-types.