Exemplo n.º 1
0
 public function __construct($message, $response = NULL)
 {
     $string = $message;
     if ($response) {
         $string .= " ({$response})";
     }
     parent::__construct($string);
 }
Exemplo n.º 2
0
 public function __construct(ConstraintViolationListInterface $violations)
 {
     parent::__construct((string) $violations);
 }