interfaceSchemaReflector
interface SchemaReflector
Contract for obtaining schema metadata from a live database.
Methods§
public function getCreateStatement(string $tableName): ?stringReturn the CREATE TABLE statement for a table, if available.
Parameters
$tableName | string |
Returns
?stringpublic function reflectAll(): array<string, string>Return all table names and their CREATE TABLE statements.
Returns
array<string, string> Table name => CREATE TABLE SQL.Test cases 1§
Test cases that cover or call this symbol, from the coverage report and from the analyzed test sources.
Other tests reaching this symbol 1
FakeSchemaReflectorcalls