AttachmentsHandlerInterface refactored

This commit is contained in:
Petr Bechyně
2016-11-08 18:31:28 +01:00
parent 84c37b1d24
commit 5fbcfb3e22
3 changed files with 41 additions and 9 deletions

View File

@ -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();
}