Make sure the attachment tests work.

This commit is contained in:
James Cole
2016-12-25 12:23:36 +01:00
parent 0ef9b5b462
commit 7894f1871e
4 changed files with 57 additions and 9 deletions

View File

@@ -37,6 +37,20 @@ interface AttachmentRepositoryInterface
*/
public function get(): Collection;
/**
* @param Attachment $attachment
*
* @return bool
*/
public function exists(Attachment $attachment): bool;
/**
* @param Attachment $attachment
*
* @return string
*/
public function getContent(Attachment $attachment): string;
/**
* @param Carbon $start
* @param Carbon $end