mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-09-06 04:34:00 +00: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();
|
||
|
|
||
|
}
|