Split includes/HTMLForm
[lhc/web/wiklou.git] / includes / htmlform / HTMLFormFieldRequiredOptionsException.php
1 <?php
2 class HTMLFormFieldRequiredOptionsException extends MWException {
3 public function __construct( HTMLFormField $field, array $missing ) {
4 parent::__construct( sprintf( "Form type `%s` expected the following parameters to be set: %s", get_class( $field ), implode( ', ', $missing ) ) );
5 }
6 }