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|null $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 34
__construct(Reflector $reflector, string|null $name = null)

No description

Parameters

Reflector $reflector
string|null $name

at line 41
string|null getName()

No description

Return Value

string|null

at line 48
array getTables()

No description

Return Value

array

at line 56
array getTableNames()

No description

Return Value

array

at line 68
Table getTable(string $name)

No description

Parameters

string $name

Return Value

Table

at line 81
bool hasTable(string $name)

No description

Parameters

string $name

Return Value

bool

at line 88
protected void init()

No description

Return Value

void

Traits

Better OOP experience.