public function validateConverterClass($attribute, $params)
    {
        $className = $this->$attribute;
        if (class_exists($className) === true) {
            if (new $className instanceof MeasureConverterInterface === false) {
                $this->addError($attribute, MeasureHelper::t('Class does not implement `DevGroup\Measure\converters\MeasureConverterInterface` interface'));
            }
        } else {
            $this->addError($attribute, MeasureHelper::t('Class not found'));
        }
    }
public function validateConverterClass($attribute, $params)
    {
        $className = $this->$attribute;
        if (class_exists($className) === true) {
            if (new $className instanceof MeasureConverterInterface === false) {
                $this->addError($attribute, MeasureHelper::t('Class does not implement `DevGroup\Measure\converters\MeasureConverterInterface` interface'));
            }
        } else {
            $this->addError($attribute, MeasureHelper::t('Class not found'));
        }
    }
public function validateConverterClass ( $ attribute , $ params ) { $ className = $ this -> $ attribute ; if ( class_exists ( $ className ) === true ) { if ( new $ className instanceof MeasureConverterInterface === false ) { $ this -> addError ( $ attribute , MeasureHelper :: t ( 'Class does not implement `DevGroup\Measure\converters\MeasureConverterInterface` interface' ) ) ; } } else { $ this -> addError ( $ attribute , MeasureHelper :: t ( 'Class not found' ) ) ; } }
Validate the converter class name
@param string $attribute
@param array $params
Validate the converter class name