mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-01-22 06:23:12 -06:00
33 lines
543 B
PHP
33 lines
543 B
PHP
|
<?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();
|
||
|
|
||
|
}
|