container); $collection->add(LocalCdnAdapter::LOOKUP_KEY, LocalCdnAdapter::class); $this->app ->set(FileSystemInterface::class, $this->getFs()) ->set(CdnAdapterCollectionInterface::class, $collection) ->set(CdnInterface::class, Cdn::class); } private function getFs(): FileSystemInterface { $adapter = new LocalFileSystemAdapter( $this->rootDir, linkHandling: LocalFilesystemAdapter::SKIP_LINKS, ); return new FileSystem($adapter); } }