mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2024-11-30 12:43:57 -06:00
34 lines
539 B
PHP
34 lines
539 B
PHP
<?php
|
|
|
|
namespace Firefly\Storage\Reminder;
|
|
|
|
|
|
use Carbon\Carbon;
|
|
|
|
/**
|
|
* Class EloquentReminderRepository
|
|
*
|
|
* @package Firefly\Storage\Reminder
|
|
*/
|
|
class EloquentReminderRepository implements ReminderRepositoryInterface
|
|
{
|
|
/**
|
|
* @param \User $user
|
|
* @return mixed|void
|
|
*/
|
|
public function overruleUser(\User $user)
|
|
{
|
|
$this->_user = $user;
|
|
return true;
|
|
}
|
|
|
|
protected $_user = null;
|
|
|
|
/**
|
|
*
|
|
*/
|
|
public function __construct()
|
|
{
|
|
$this->_user = \Auth::user();
|
|
}
|
|
} |