encoding = trim((string) $encoding); $message = 'Unsupported source map encoding'; if ($this->encoding !== '') { $message .= ': '.$this->encoding; } parent::__construct($message, $code, $previous); } /** * @return string */ public function getEncoding() { return $this->encoding; } }