mirror of
				https://github.com/firefly-iii/firefly-iii.git
				synced 2025-10-31 18:54:58 +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);
 | |
| }
 | |
| 
 |