Give all repositories a new setUser function.

This commit is contained in:
James Cole
2017-01-30 16:40:49 +01:00
parent 4cad2eb0c4
commit 84e380e4d0
16 changed files with 83 additions and 3 deletions

View File

@@ -15,6 +15,7 @@ namespace FireflyIII\Repositories\Attachment;
use Carbon\Carbon;
use FireflyIII\Models\Attachment;
use FireflyIII\User;
use Illuminate\Support\Collection;
/**
@@ -25,6 +26,11 @@ use Illuminate\Support\Collection;
interface AttachmentRepositoryInterface
{
/**
* @param User $user
*/
public function setUser(User $user);
/**
* @param Attachment $attachment
*