| 1 | <?php |
||
| 9 | class CertificateCheckFailed implements ShouldQueue |
||
| 10 | { |
||
| 11 | /** @var \Spatie\UptimeMonitor\Models\Monitor */ |
||
| 12 | public Monitor $monitor; |
||
|
|
|||
| 13 | |||
| 14 | /** @var string */ |
||
| 15 | public string $reason; |
||
| 16 | |||
| 17 | public ?SslCertificate $certificate; |
||
| 18 | |||
| 19 | public function __construct(Monitor $monitor, string $reason, SslCertificate $certificate = null) |
||
| 20 | { |
||
| 21 | $this->monitor = $monitor; |
||
| 22 | |||
| 23 | $this->reason = $reason; |
||
| 24 | |||
| 25 | $this->certificate = $certificate; |
||
| 26 | } |
||
| 27 | } |
||
| 28 |