mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2024-11-30 12:43:57 -06:00
27 lines
332 B
PHP
27 lines
332 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;
|
|
}
|
|
}
|