PATH:
home
/
lab2454c
/
costbloc.com
/
vendor
/
league
/
flysystem
/
src
/
UrlGeneration
<?php declare(strict_types=1); namespace League\Flysystem\UrlGeneration; use League\Flysystem\Config; use League\Flysystem\PathPrefixer; class PrefixPublicUrlGenerator implements PublicUrlGenerator { private PathPrefixer $prefixer; public function __construct(string $urlPrefix) { $this->prefixer = new PathPrefixer($urlPrefix, '/'); } public function publicUrl(string $path, Config $config): string { return $this->prefixer->prefixPath($path); } }
[-] ChainedPublicUrlGenerator.php
[edit]
[+]
..
[-] TemporaryUrlGenerator.php
[edit]
[-] PrefixPublicUrlGenerator.php
[edit]
[-] ShardedPrefixPublicUrlGenerator.php
[edit]
[-] PublicUrlGenerator.php
[edit]