AttachmentsHandlerInterface refactored
This commit is contained in:
@ -4,9 +4,12 @@ namespace BeSimple\SoapCommon;
|
||||
|
||||
use BeSimple\SoapCommon\Storage\RequestHandlerAttachmentsStorage;
|
||||
|
||||
/** @todo: PBe - refactor this interface + usages -> inconsistent - adding storage, getting items - WTF APi? */
|
||||
interface AttachmentsHandler
|
||||
interface AttachmentsHandlerInterface
|
||||
{
|
||||
public function addAttachmentStorage(RequestHandlerAttachmentsStorage $requestHandlerAttachmentsStorage);
|
||||
public function getAttachmentsFromStorage();
|
||||
|
||||
/**
|
||||
* @return RequestHandlerAttachmentsStorage
|
||||
*/
|
||||
public function getAttachmentStorage();
|
||||
}
|
Reference in New Issue
Block a user