class DB

Methods

__construct()

No description

static DB
getInstance()

No description

static void
setInstance(DB|null $instance)

Set a custom instance (useful for testing / DI).

bool
isConnected()

No description

Medoo
getConnection()

No description

static string
table()

No description

static string
mapper()

No description

static string
author()

No description

static array
categories()

No description

Details

at line 14
__construct()

No description

at line 53
static DB getInstance()

No description

Return Value

DB

at line 65
static void setInstance(DB|null $instance)

Set a custom instance (useful for testing / DI).

Parameters

DB|null $instance

Return Value

void

at line 70
bool isConnected()

No description

Return Value

bool

at line 75
Medoo getConnection()

No description

Return Value

Medoo

at line 80
static string table()

No description

Return Value

string

at line 85
static string mapper()

No description

Return Value

string

at line 90
static string author()

No description

Return Value

string

at line 95
static array categories()

No description

Return Value

array