original_string: private function createConfigurationDriver()
      {
          $reflection = new \ReflectionClass($this->driverClass());
  
          /** @var ConfigurationInterface $config */
          $config = $reflection->hasMethod('__construct')
              ? $reflection->newInstanceArgs([$this->file])
              : $reflection->newInstance();
          return $config;
      }
code: private function createConfigurationDriver()
      {
          $reflection = new \ReflectionClass($this->driverClass());
  
          /** @var ConfigurationInterface $config */
          $config = $reflection->hasMethod('__construct')
              ? $reflection->newInstanceArgs([$this->file])
              : $reflection->newInstance();
          return $config;
      }
code_tokens: private function createConfigurationDriver ( ) { $ reflection = new \ ReflectionClass ( $ this -> driverClass ( ) ) ; /** @var ConfigurationInterface $config */ $ config = $ reflection -> hasMethod ( '__construct' ) ? $ reflection -> newInstanceArgs ( [ $ this -> file ] ) : $ reflection -> newInstance ( ) ; return $ config ; }
docstring: Creates the configuration driver from current properties
  
  @return ConfigurationInterface
docstring_tokens: Creates the configuration driver from current properties