Ejemplo n.º 1
0
 public function __construct($field, $message = null, $code = 0)
 {
     parent::__construct($message, $code);
     $this->field = $field;
 }
Ejemplo n.º 2
0
 public function __construct($parameterName = "", $service = "")
 {
     $message = 'Expected parameter "' . $parameterName . '" passed to ' . $service . ' is missing';
     parent::__construct($message);
 }