firefly-iii/app/Helpers/Attachments/AttachmentHelperInterface.php

33 lines
543 B
PHP
Raw Normal View History

2015-07-18 02:49:29 -05:00
<?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();
}