mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2024-12-02 05:29:12 -06:00
28 lines
333 B
PHP
28 lines
333 B
PHP
<?php
|
|
|
|
namespace FireflyIII\Database;
|
|
|
|
|
|
/**
|
|
* Class SwitchUser
|
|
*
|
|
* @package FireflyIII\Database
|
|
*/
|
|
trait SwitchUser
|
|
{
|
|
protected $_user;
|
|
|
|
public function getUser()
|
|
{
|
|
return $this->_user;
|
|
}
|
|
|
|
/**
|
|
* @param $user
|
|
*/
|
|
public function setUser($user)
|
|
{
|
|
$this->_user = $user;
|
|
}
|
|
}
|