public function load($templatePath, $userConfigurationPath, $class = 'phpDocumentor\Configuration')
    {
        $userConfigFilePath = $this->fetchUserConfigFileFromCommandLineOptions();

        if ($this->isValidFile($userConfigFilePath)) {
            chdir(dirname($userConfigFilePath));
        } else {
            $userConfigFilePath = null;
        }

        return $this->createConfigurationObject($templatePath, $userConfigurationPath, $userConfigFilePath, $class);
    }