3 namespace Friendica\Core\Session;
5 use Friendica\Core\Config\Configuration;
6 use Friendica\Model\User\Cookie;
9 * Usable for backend processes (daemon/worker) and testing
11 * @todo after replacing the last direct $_SESSION call, use a internal array instead of the global variable
13 final class Memory extends Native
15 public function __construct(Configuration $config, Cookie $cookie)
17 $this->cookie = $cookie;
20 public function start()
22 // Backward compatibility until all Session variables are replaced
23 // with the Session class