function __construct(ISession $session, IAppPath $appPath) { $this->session = $session; $this->session->setSavePath($appPath->sessions()); }