classSchemaInitializer
final class SchemaInitializer
Restricted visibility: declared "@visibility root". Code outside that scope must not name this declaration.
Registers reflected PostgreSQL metadata before a session accepts queries.
Methods§
public function populate(
ConnectionInterface $connection,
PgSqlSchemaReflector $reflector,
PgSqlSchemaParser $schemaParser,
TableDefinitionRegistry $registry,
): voidLoads table definitions, partial indexes and partition relationships in reflection order.
Parameters
$connection | ConnectionInterface | |
$reflector | PgSqlSchemaReflector | |
$schemaParser | PgSqlSchemaParser | |
$registry | TableDefinitionRegistry |
Called from 1
Calls 7
- method-call PgSqlSchemaReflector::reflectAll() line 26
- method-call PgSqlSchemaParser::parse() line 27
- method-call TableDefinitionRegistry::register() line 29
- method-call PgSqlSchemaReflector::partialUniqueIndexes() line 32
- method-call TableDefinitionRegistry::get() line 33
- method-call PgSqlPartitionReflector::reflect() line 42
- new PgSqlPartitionReflector line 42
Test cases 2§
Test cases that cover or call this symbol, from the coverage report and from the analyzed test sources.
Dedicated tests 1
Other tests reaching this symbol 1
PgSqlSessionFactoryTestcalls