/** * Create a new file configuration loader. * * @param \Illuminate\Filesystem\Filesystem $files * @param string $defaultPath * @return void */ public function __construct(LoaderInterface $loader, $defaultPath) { $this->loader = $loader; $this->files = $loader->getFilesystem(); $this->defaultPath = $defaultPath; $this->rewriter = new Rewrite(); }