public static function app() { if (self::$instance == null) { self::$instance = new self(); } return self::$instance; }
/** * Get instance * @return \Core\Auth */ public static function getInstance() { if (is_null(self::$_instance)) { self::$_instance = new self(); } return self::$_instance; }