public function __construct($severity, $message, $filePath, $line) { $this->severity = $severity; $this->message = $message; $this->filePath = $filePath; $this->line = $line; }