Basic interface for upload.

This commit is contained in:
James Cole
2015-07-18 09:49:29 +02:00
parent b0beab4cd3
commit 63ef89b6cc
2 changed files with 199 additions and 0 deletions

View File

@@ -0,0 +1,33 @@
<?php
namespace FireflyIII\Helpers\Attachments;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Support\MessageBag;
/**
* Interface AttachmentHelperInterface
*
* @package FireflyIII\Helpers\Attachments
*/
interface AttachmentHelperInterface
{
/**
* @param Model $model
*
* @return bool
*/
public function saveAttachmentsForModel(Model $model);
/**
* @return MessageBag
*/
public function getErrors();
/**
* @return MessageBag
*/
public function getMessages();
}