class Database

Reflection metadata class for a database.

Traits

Better OOP experience.

Methods

__construct(Reflector $reflector, string $name = null)

No description

string|null
getName()

No description

array
getTables()

No description

array
getTableNames()

No description

getTable(string $name)

No description

bool
hasTable(string $name)

No description

void
init()

No description

Details

at line 36
__construct(Reflector $reflector, string $name = null)

Parameters

Reflector $reflector
string $name

at line 43
string|null getName()

Return Value

string|null

at line 52
array getTables()

Return Value

array

at line 62
array getTableNames()

Return Value

array

at line 73
Table getTable(string $name)

Parameters

string $name

Return Value

Table

at line 86
bool hasTable(string $name)

Parameters

string $name

Return Value

bool

at line 93
protected void init()

Return Value

void