| 1 | <?php |
||
| 9 | abstract class AbstractEmitter implements EmitterInterface |
||
| 10 | { |
||
| 11 | /** |
||
| 12 | * @var array |
||
| 13 | */ |
||
| 14 | protected $options = [ |
||
| 15 | 'includeTrace' => true, |
||
| 16 | ]; |
||
| 17 | |||
| 18 | public function __construct(array $options = []) |
||
| 22 | |||
| 23 | public function __invoke(Throwable $throwable) : Throwable |
||
| 33 | |||
| 34 | abstract protected function format(Throwable $throwable) : string; |
||
| 35 | |||
| 36 | final protected function formatTraceRecord(array $traceRecord, int $index, int $traceLength) : string |
||
| 48 | } |
||
| 49 |