MediaWiki  master
HTMLFormFieldRequiredOptionsException.php
Go to the documentation of this file.
1 <?php
2 
8 
15  public function __construct( HTMLFormField $field, array $missing ) {
16  parent::__construct( sprintf( "Form type `%s` expected the following parameters to be set: %s",
17  get_class( $field ),
18  implode( ', ', $missing ) ) );
19  }
20 }
The parent class to generate form fields.
MediaWiki exception.
Definition: MWException.php:32