3 namespace Friendica\Test\Util;
8 * Making the App class overridable for specific situations
12 class AppDouble extends App
14 /** @var bool Marks/Overwrites if the user is currently logged in */
15 protected $isLoggedIn = false;
18 * Manually overwrite the "isLoggedIn" behavior
20 * @param bool $isLoggedIn
22 public function setIsLoggedIn(bool $isLoggedIn)
24 $this->isLoggedIn = $isLoggedIn;
27 public function isLoggedIn()
29 return $this->isLoggedIn;