public static function fatalAccess(string $userGroup, string $error)
  {
    if (!isset($_SESSION[$userGroup])) {
      exit($error);
    }
  }
public static function fatalAccess(string $userGroup, string $error)
  {
    if (!isset($_SESSION[$userGroup])) {
      exit($error);
    }
  }
public static function fatalAccess ( string $ userGroup , string $ error ) { if ( ! isset ( $ _SESSION [ $ userGroup ] ) ) { exit ( $ error ) ; } }
Return Fatal Error
Return Fatal Error