mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2024-11-26 02:40:43 -06:00
31 lines
572 B
PHP
31 lines
572 B
PHP
<?php
|
|
|
|
namespace FireflyIII\Repositories\Attachment;
|
|
|
|
use FireflyIII\Models\Attachment;
|
|
|
|
/**
|
|
* Interface AttachmentRepositoryInterface
|
|
*
|
|
* @package FireflyIII\Repositories\Attachment
|
|
*/
|
|
interface AttachmentRepositoryInterface
|
|
{
|
|
|
|
/**
|
|
* @param Attachment $attachment
|
|
*
|
|
* @return bool
|
|
*/
|
|
public function destroy(Attachment $attachment);
|
|
|
|
/**
|
|
* @param Attachment $attachment
|
|
* @param array $attachmentData
|
|
*
|
|
* @return Attachment
|
|
*/
|
|
public function update(Attachment $attachment, array $attachmentData);
|
|
}
|
|
|