🔐 Sid Gifari File Manager Pro
v8.0.5 | 2026-06-15 00:15:26 | PHP 8.1.34
📂
/ (Root)
/
opt
/
cpanel
/
ea-wappspector
/
vendor
/
league
/
flysystem
/
src
/
UrlGeneration
📍 /opt/cpanel/ea-wappspector/vendor/league/flysystem/src/UrlGeneration
🔄 Refresh
✏️
Editing: ChainedPublicUrlGenerator.php
Read Only
<?php declare(strict_types=1); namespace League\Flysystem\UrlGeneration; use League\Flysystem\Config; use League\Flysystem\UnableToGeneratePublicUrl; final class ChainedPublicUrlGenerator implements PublicUrlGenerator { /** * @param PublicUrlGenerator[] $generators */ public function __construct(private iterable $generators) { } public function publicUrl(string $path, Config $config): string { foreach ($this->generators as $generator) { try { return $generator->publicUrl($path, $config); } catch (UnableToGeneratePublicUrl) { } } throw new UnableToGeneratePublicUrl('No supported public url generator found.', $path); } }
💾 Save Changes
❌ Cancel