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;
    }