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, $name)

No description

string
getName()

No description

Table[]
getTables()

No description

string[]
getTableNames()

No description

getTable($name)

No description

bool
hasTable($name)

No description

void
init()

No description

Details

at line 34
__construct(Reflector $reflector, $name)

No description

Parameters

Reflector $reflector
$name

at line 44
string getName()

No description

Return Value

string

at line 53
Table[] getTables()

No description

Return Value

Table[]

at line 63
string[] getTableNames()

No description

Return Value

string[]

at line 78
Table getTable($name)

No description

Parameters

$name

Return Value

Table

at line 95
bool hasTable($name)

No description

Parameters

$name

Return Value

bool

at line 105
protected void init()

No description

Return Value

void

Traits

Better OOP experience.