original_string: public function translations()
      {
          return $this->hasMany(Translation::class, 'foreign_key', $this->getKeyName())
              ->where('table_name', $this->getTable())
              ->whereIn('locale', config('admin.multilingual.locales', []));
      }
code: public function translations()
      {
          return $this->hasMany(Translation::class, 'foreign_key', $this->getKeyName())
              ->where('table_name', $this->getTable())
              ->whereIn('locale', config('admin.multilingual.locales', []));
      }
code_tokens: public function translations ( ) { return $ this -> hasMany ( Translation :: class , 'foreign_key' , $ this -> getKeyName ( ) ) -> where ( 'table_name' , $ this -> getTable ( ) ) -> whereIn ( 'locale' , config ( 'admin.multilingual.locales' , [ ] ) ) ; }
docstring: Load translations relation.
  
  @return mixed
docstring_tokens: Load translations relation .