mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
20 lines
385 B
PHP
20 lines
385 B
PHP
|
<?php
|
||
|
|
||
|
namespace SilverStripe\Filesystem\Flysystem;
|
||
|
|
||
|
use League\Flysystem\AdapterInterface;
|
||
|
|
||
|
/**
|
||
|
* Represents an AbstractAdapter which exposes its assets via public urls
|
||
|
*/
|
||
|
interface PublicAdapter extends AdapterInterface {
|
||
|
|
||
|
/**
|
||
|
* Provide downloadable url that is open to the public
|
||
|
*
|
||
|
* @param string $path
|
||
|
* @return string|null
|
||
|
*/
|
||
|
public function getPublicUrl($path);
|
||
|
}
|