public function load($path, LocatorInterface $locator, array $loaders = [], array $config = [])
    {
        $resource = $locator->locate($path);

        if(count($loaders) < 1){
            $loaders = [
                new PhpLoader(),
                new JsonLoader()
            ];
        }

        foreach($loaders as $loader){
            if(pathinfo($resource->getPath(), PATHINFO_EXTENSION) !== $loader->getExtension()){
                continue;
            }

            $config = $loader->load($resource);
            break;
        }

        return $config;
    }