controllers/DictionaryController.php
public function actionValidate($class)
    {
        try {
            Yii::$app->rhoone->dic->validate($class);
        } catch (\Exception $ex) {
            throw new Exception($ex->getMessage());
        }
        echo "No errors occured.";
        return 0;
    }
public function actionValidate($class)
    {
        try {
            Yii::$app->rhoone->dic->validate($class);
        } catch (\Exception $ex) {
            throw new Exception($ex->getMessage());
        }
        echo "No errors occured.";
        return 0;
    }
public function actionValidate ( $ class ) { try { Yii :: $ app -> rhoone -> dic -> validate ( $ class ) ; } catch ( \ Exception $ ex ) { throw new Exception ( $ ex -> getMessage ( ) ) ; } echo "No errors occured." ; return 0 ; }
Validate dictionary of extension.
@param string $class The extension class.
@return int
@throws Exception if error(s) occured.
Validate dictionary of extension .