| 1 | <?php |
||
| 9 | abstract class AbstractHttpEmitter extends AbstractEmitter |
||
| 10 | { |
||
| 11 | /** |
||
| 12 | * @var int |
||
| 13 | */ |
||
| 14 | protected $httpResponseCode; |
||
| 15 | |||
| 16 | 3 | public function __construct(bool $includeTrace = true, int $httpResponseCode = 500) |
|
| 22 | |||
| 23 | 3 | public function __invoke(Throwable $throwable) : Throwable |
|
| 29 | |||
| 30 | 3 | protected function sendHeaders() |
|
| 40 | |||
| 41 | 3 | final protected function canSendHeaders() : bool |
|
| 45 | |||
| 46 | abstract protected function getContentType() : string; |
||
| 47 | } |
||
| 48 |