getValue(); $checker = new MathInputCheckRestbase( $tex ); if ( $checker->isValid() ) { return Result::newSuccess(); } // TeX string is not valid return Result::newError( [ Error::newError( null, null, 'malformed-value', [ $checker->getError() ] ) ] ); } /** * @see ValueValidator::setOptions() * * @param array $options */ public function setOptions( array $options ) { // Do nothing. This method shouldn't even be in the interface. } }