private function getFileLoader(ContainerBuilder $container, FileLocator $locator, string $fileType): ?FileLoader
    {
        $loader = null;

        switch ($fileType) {
            case ConfigurationFileType::YAML:
                $loader = new YamlFileLoader($container, $locator);

                break;
            case ConfigurationFileType::XML:
                $loader = new XmlFileLoader($container, $locator);

                break;
            case ConfigurationFileType::PHP:
                $loader = new PhpFileLoader($container, $locator);

                break;
        }

        return $loader;
    }