silverstripe-framework/src/Assets/Flysystem/PublicAdapter.php

21 lines
402 B
PHP
Raw Normal View History

<?php
namespace SilverStripe\Assets\Flysystem;
use League\Flysystem\AdapterInterface;
/**
* Represents an AbstractAdapter which exposes its assets via public urls
*/
2016-11-29 00:31:16 +01:00
interface PublicAdapter extends AdapterInterface
{
2016-11-29 00:31:16 +01:00
/**
* Provide downloadable url that is open to the public
*
* @param string $path
* @return string|null
*/
public function getPublicUrl($path);
}