original_string: protected function initTranslationClass()
      {
          if (!class_exists($this->translationClassName)) {
              $namespace = substr($this->translationClassName, 0, strrpos($this->translationClassName, '\\'));
              $translationClassName = $this->getShortClassName($this->translationClassName);
  
              eval('
              namespace ' . $namespace . ';
              use yii\db\ActiveRecord;
              class ' . $translationClassName . ' extends ActiveRecord
              {
                  public static function tableName()
                  {
                      return \'' . $this->tableName . '\';
                  }
              }');
          }
      }
code: protected function initTranslationClass()
      {
          if (!class_exists($this->translationClassName)) {
              $namespace = substr($this->translationClassName, 0, strrpos($this->translationClassName, '\\'));
              $translationClassName = $this->getShortClassName($this->translationClassName);
  
              eval('
              namespace ' . $namespace . ';
              use yii\db\ActiveRecord;
              class ' . $translationClassName . ' extends ActiveRecord
              {
                  public static function tableName()
                  {
                      return \'' . $this->tableName . '\';
                  }
              }');
          }
      }
code_tokens: protected function initTranslationClass ( ) { if ( ! class_exists ( $ this -> translationClassName ) ) { $ namespace = substr ( $ this -> translationClassName , 0 , strrpos ( $ this -> translationClassName , '\\' ) ) ; $ translationClassName = $ this -> getShortClassName ( $ this -> translationClassName ) ; eval ( '
              namespace ' . $ namespace . ';
              use yii\db\ActiveRecord;
              class ' . $ translationClassName . ' extends ActiveRecord
              {
                  public static function tableName()
                  {
                      return \'' . $ this -> tableName . '\';
                  }
              }' ) ; } }
docstring: Create dynamic translation model.
docstring_tokens: Create dynamic translation model .