/** * * @return Session; */ public static function getInstance() { if (!self::$_proxy instanceof SessionProxy) { self::$_proxy = new SessionDefault(); } if (!self::$_instance instanceof self) { self::$_instance = new self(); } return self::$_instance; }