示例#1
0
 public function __construct($message, $response = NULL)
 {
     $string = $message;
     if ($response) {
         $string .= " ({$response})";
     }
     parent::__construct($string);
 }
 public function __construct(ConstraintViolationListInterface $violations)
 {
     parent::__construct((string) $violations);
 }