Implement all setUser methods.

This commit is contained in:
James Cole
2017-01-30 16:42:58 +01:00
parent 84e380e4d0
commit 311c1a3c84
17 changed files with 120 additions and 24 deletions

View File

@@ -152,6 +152,14 @@ class JournalTasker implements JournalTaskerInterface
return $transactions;
}
/**
* @param User $user
*/
public function setUser(User $user)
{
$this->user = $user;
}
/**
* Collect the balance of an account before the given transaction has hit. This is tricky, because
* the balance does not depend on the transaction itself but the journal it's part of. And of course