final class SqliteSchemaFetcher
    implements SchemaFetcherInterface

Fetches table schemas from SQLite databases.

Uses PRAGMA table_info to build the schema directly, avoiding the need to parse CREATE TABLE statements for simple cases. Falls back to sqlite_schema for full CREATE TABLE parsing when needed.

Methods§

public function __construct(?SqliteSchemaParser $parser = null)

Initializes the collaborators and declared state for this object.

Parameters

Calls 1

Private surface 1§

Implementation details, listed for orientation only.

private SqliteSchemaParser $parser

Test cases 18§

Test cases that cover or call this symbol, from the coverage report and from the analyzed test sources.

Dedicated tests 8
Other tests reaching this symbol 10

Relations§

Instantiated in 1