public function getCurrentUser()
	{
		$instance = $this->app['session']->get('user');

		if (!($instance instanceof User))
		{
			$instance = new User;
		}

		return $instance;
	}
public function getCurrentUser()
	{
		$instance = $this->app['session']->get('user');

		if (!($instance instanceof User))
		{
			$instance = new User;
		}

		return $instance;
	}
public function getCurrentUser ( ) { $ instance = $ this -> app [ 'session' ] -> get ( 'user' ) ; if ( ! ( $ instance instanceof User ) ) { $ instance = new User ; } return $ instance ; }
Get the default user

@return  object
Get the default user