private function createConfigurationDriver()
    {
        $reflection = new \ReflectionClass($this->driverClass());

        /** @var ConfigurationInterface $config */
        $config = $reflection->hasMethod('__construct')
            ? $reflection->newInstanceArgs([$this->file])
            : $reflection->newInstance();
        return $config;
    }
private function createConfigurationDriver()
    {
        $reflection = new \ReflectionClass($this->driverClass());

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

@return ConfigurationInterface
Creates the configuration driver from current properties