original_string: protected function getLang($name, $default = null, $extras = [])
      {
          $name = $this->getConfig($name, $default);
          $vars = [
              'name' => Lang::get($this->getConfig('name', 'backend::lang.model.name'))
          ];
          $vars = array_merge($vars, $extras);
          return Lang::get($name, $vars);
      }
code: protected function getLang($name, $default = null, $extras = [])
      {
          $name = $this->getConfig($name, $default);
          $vars = [
              'name' => Lang::get($this->getConfig('name', 'backend::lang.model.name'))
          ];
          $vars = array_merge($vars, $extras);
          return Lang::get($name, $vars);
      }
code_tokens: protected function getLang ( $ name , $ default = null , $ extras = [ ] ) { $ name = $ this -> getConfig ( $ name , $ default ) ; $ vars = [ 'name' => Lang :: get ( $ this -> getConfig ( 'name' , 'backend::lang.model.name' ) ) ] ; $ vars = array_merge ( $ vars , $ extras ) ; return Lang :: get ( $ name , $ vars ) ; }
docstring: Parses in some default variables to a language string defined in config.
  
  @param string $name Configuration property containing the language string
  @param string $default A default language string to use if the config is not found
  @param array $extras Any extra params to include in the language string variables
  @return string The translated string.
docstring_tokens: Parses in some default variables to a language string defined in config .