1 | <?php |
||
9 | abstract class AbstractEmitter implements EmitterInterface |
||
10 | { |
||
11 | /** |
||
12 | * @var bool |
||
13 | */ |
||
14 | protected $includeTrace; |
||
15 | |||
16 | 3 | public function __construct(bool $includeTrace = true) |
|
20 | |||
21 | 3 | public function __invoke(Throwable $throwable) : Throwable |
|
31 | |||
32 | abstract protected function format(Throwable $throwable) : string; |
||
33 | |||
34 | final protected function formatTraceRecord(array $traceRecord, int $index, int $traceLength) : string |
||
46 | } |
||
47 |