mirror of
https://github.com/friendica/friendica
synced 2025-04-27 17:50:17 +00:00
Merge remote-tracking branch 'upstream/2021.06-rc' into proxy2
This commit is contained in:
commit
8ac9b37176
10 changed files with 1094 additions and 1085 deletions
|
@ -23,6 +23,7 @@ namespace Friendica\Model\Storage;
|
|||
|
||||
use BadMethodCallException;
|
||||
use Friendica\Util\HTTPSignature;
|
||||
use Friendica\Network\IHTTPRequest;
|
||||
|
||||
/**
|
||||
* External resource storage class
|
||||
|
@ -34,6 +35,14 @@ class ExternalResource implements IStorage
|
|||
{
|
||||
const NAME = 'ExternalResource';
|
||||
|
||||
/** @var IHTTPRequest */
|
||||
private $httpRequest;
|
||||
|
||||
public function __construct(IHTTPRequest $httpRequest)
|
||||
{
|
||||
$this->httpRequest = $httpRequest;
|
||||
}
|
||||
|
||||
/**
|
||||
* @inheritDoc
|
||||
*/
|
||||
|
|
|
@ -23,6 +23,8 @@ namespace Friendica\Model\Storage;
|
|||
|
||||
/**
|
||||
* Interface for storage backends
|
||||
*
|
||||
* @todo Split this interface into "IStorage" for get() operations (including Resource fetching) and "IUserStorage" for real user backends including put/delete/options
|
||||
*/
|
||||
interface IStorage
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue