17 lines
313 B
PHP
17 lines
313 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace League\Flysystem\UrlGeneration;
|
|
|
|
use League\Flysystem\Config;
|
|
use League\Flysystem\UnableToGeneratePublicUrl;
|
|
|
|
interface PublicUrlGenerator
|
|
{
|
|
/**
|
|
* @throws UnableToGeneratePublicUrl
|
|
*/
|
|
public function publicUrl(string $path, Config $config): string;
|
|
}
|