class Database

Reflection metadata class for a database.

Properties

string read-only $name
array read-only $tables
array read-only $tableNames

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)

No description

Parameters

Reflector $reflector
string $name

at line 43
string|null getName()

No description

Return Value

string|null

at line 50
array getTables()

No description

Return Value

array

at line 58
array getTableNames()

No description

Return Value

array

at line 69
Table getTable(string $name)

No description

Parameters

string $name

Return Value

Table

at line 82
bool hasTable(string $name)

No description

Parameters

string $name

Return Value

bool

at line 89
protected void init()

No description

Return Value

void

Traits

Better OOP experience.