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 52
array getTables()

No description

Return Value

array

at line 62
array getTableNames()

No description

Return Value

array

at line 73
Table getTable(string $name)

No description

Parameters

string $name

Return Value

Table

at line 86
bool hasTable(string $name)

No description

Parameters

string $name

Return Value

bool

at line 93
protected void init()

No description

Return Value

void

Traits

Better OOP experience.