original_string: protected function fetchDefaultConfig()
      {
          $configFile = method_exists($this, 'getDefaultConfigFile')
              ? $this->getDefaultConfigFile()
              : __DIR__ . '/../config/defaults.php';
  
          return $this->fetchConfig($configFile);
      }
code: protected function fetchDefaultConfig()
      {
          $configFile = method_exists($this, 'getDefaultConfigFile')
              ? $this->getDefaultConfigFile()
              : __DIR__ . '/../config/defaults.php';
  
          return $this->fetchConfig($configFile);
      }
code_tokens: protected function fetchDefaultConfig ( ) { $ configFile = method_exists ( $ this , 'getDefaultConfigFile' ) ? $ this -> getDefaultConfigFile ( ) : __DIR__ . '/../config/defaults.php' ; return $ this -> fetchConfig ( $ configFile ) ; }
docstring: Get a default configuration in case none was injected into the constructor.
  
  The name and path of the configuration needs to be set as a const called DEFAULT_CONFIG within the class
  containing the trait. The path needs to be relative to the location of the containing class file.
  
  @since 0.4.2
  
  @return ConfigInterface Configuration settings to use.
docstring_tokens: Get a default configuration in case none was injected into the constructor .