firefly-iii/app/lib/Firefly/Storage/Transaction/EloquentTransactionRepository.php
2014-09-02 17:27:28 +02:00

32 lines
534 B
PHP

<?php
namespace Firefly\Storage\Transaction;
/**
* Class EloquentTransactionRepository
*
* @package Firefly\Storage\Transaction
*/
class EloquentTransactionRepository implements TransactionRepositoryInterface
{
protected $_user = null;
/**
*
*/
public function __construct()
{
$this->_user = \Auth::user();
}
/**
* @param \User $user
* @return mixed|void
*/
public function overruleUser(\User $user)
{
$this->_user = $user;
return true;
}
}