mirror of
				https://github.com/firefly-iii/firefly-iii.git
				synced 2025-11-03 20:55:05 +00: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);
 | 
						|
}
 | 
						|
 |