1 | <?php |
||
6 | class DebugBacktraceConsole extends \DebugBacktrace |
||
|
|||
7 | { |
||
8 | /** |
||
9 | * @param OutputInterface $output |
||
10 | * @param int $offset |
||
11 | * @param int|null $limit |
||
12 | */ |
||
13 | public static function dump(OutputInterface $output, $offset = 0, $limit = null) |
||
24 | |||
25 | /** |
||
26 | * @param OutputInterface $output |
||
27 | * @param int $offset |
||
28 | * @param int|null $limit |
||
29 | */ |
||
30 | public static function eDump(OutputInterface $output, $offset = 0, $limit = null) |
||
35 | |||
36 | /** |
||
37 | * @param Table $table |
||
38 | * @param array $backtrace |
||
39 | * @param int $index |
||
40 | */ |
||
41 | protected static function writeBacktraceDump(Table $table, array $backtrace, $index) |
||
50 | |||
51 | /** @param OutputInterface $output */ |
||
52 | protected static function writeCaller(OutputInterface $output) |
||
66 | } |
||
67 |
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.