public function publishConfigsTo($files, $directory, $tag = 'config')
    {
        // Get the configs that need to be published
        $configs = [];
        foreach($files as $file)
        {
            // Map the source to the destination
            // @example: vendor/package/config/foo.ext => config/vendor/package/foo.ext
            $configs[$file->getRealPath()] = $directory . '/' . basename($file->getRealPath());
        }

        // Publish the configs to the app config directory
        $this->publishes($configs, $tag);

        return $configs;
    }