get(LegacyAdminCredentials::class)->setLoginSession($adminID); } protected function adminLogout() { $this->get(LegacyAdminCredentials::class)->unsetLoginSession(); } protected function isLogged() { return $this->get(LegacyAdminCredentials::class)->isLogged(); } protected function loginByHash($token) { return $this->get(LegacyAdminCredentials::class)->loginByHash($token); } }