__toString(); parent::__construct($message); $this->violations = $violations; } public function getViolations() { return $this->violations; } }