1 | <?php |
||
6 | class DebugBacktraceConsole extends \DebugBacktrace |
||
|
|||
7 | { |
||
8 | /** @var ?string */ |
||
9 | protected static $callerRemoveFile = __FILE__; |
||
10 | |||
11 | /** |
||
12 | * @param OutputInterface $output |
||
13 | * @param int $offset |
||
14 | * @param int|null $limit |
||
15 | */ |
||
16 | public static function dump(OutputInterface $output, $offset = 0, $limit = null) |
||
27 | |||
28 | /** |
||
29 | * @param OutputInterface $output |
||
30 | * @param int $offset |
||
31 | * @param int|null $limit |
||
32 | */ |
||
33 | public static function eDump(OutputInterface $output, $offset = 0, $limit = null) |
||
38 | |||
39 | /** |
||
40 | * @param Table $table |
||
41 | * @param array $backtrace |
||
42 | * @param int $index |
||
43 | */ |
||
44 | protected static function writeBacktraceDump(Table $table, array $backtrace, $index) |
||
53 | |||
54 | /** @param OutputInterface $output */ |
||
55 | protected static function writeCaller(OutputInterface $output) |
||
69 | } |
||
70 |
You can fix this by adding a namespace to your class:
When choosing a vendor namespace, try to pick something that is not too generic to avoid conflicts with other libraries.