HTMLFormFieldRequiredOptionsException.php 305 B

12345678910
  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",
  5. get_class( $field ),
  6. implode( ', ', $missing ) ) );
  7. }
  8. }