|CdnAdapterInterface $adapter * The adapter to register. * @return static */ public function add( string $key, string|CdnAdapterInterface $adapter ): static; /** * Get a CDN implementation from the collection. * * @param string $key The key to retrieve the implementation for. * @return CdnAdapterInterface */ public function get(string $key): CdnAdapterInterface; }