All items 143

Interfaces 6§

RowGenerationSqlFixture\FixtureGenerates a row independently of provider defaults and platform selection.
HydratorInterfaceSqlFixture\HydratorHydrates generated row values into a requested object type.
SchemaFetcherInterfaceSqlFixture\SchemaInterface for fetching table schemas from a database connection.
SchemaParserInterfaceSqlFixture\SchemaParses CREATE TABLE text into a dialect-independent schema.
SchemaResolverInterfaceSqlFixture\SchemaResolves a table schema by name.
TypeMapperInterfaceSqlFixture\TypeMapperGenerates one value matching the declared SQL column.

Classes 133§

DatabaseFixtureProvider public APISqlFixtureFaker provider that generates fixtures from database tables via PDO.
FileFixtureProviderSqlFixtureFaker provider that generates fixtures from local DDL files.
FixtureGeneratorSqlFixtureGenerates row data and optionally hydrates it into a consumer object.
FixtureProvider public APISqlFixtureFaker provider that generates fixtures from CREATE TABLE SQL statements.
InvalidOverrideExceptionSqlFixtureOverrides that violate the table schema.
FixtureSetSqlFixture\FixtureWhat a plan generated, one entry per table.
GenerationRunSqlFixture\FixtureThe rows produced while one plan is being walked, and what was learnt about them on the way.
OverrideRowsSqlFixture\FixtureInterprets the public override input as one column map or a list of row maps.
PlanGeneratorSqlFixture\FixtureGenerates the rows a plan describes, keeping related rows consistent.
PlanSchemaExceptionSqlFixture\FixtureFailures matching a fixture plan to its schemas and generated rows.
PlanSchemaValidatorSqlFixture\FixtureChecks a plan against the tables it names, before anything is generated.
RowSpecSqlFixture\FixtureWhat the caller asked for, for one table.
TableOverridesSqlFixture\FixtureColumn values to use instead of generated ones, for one table.
GeneratedColumnOverrideExceptionSqlFixture\Fixture\ExceptionAn override supplies a value computed by the database.
GeneratedColumnReferenceExceptionSqlFixture\Fixture\ExceptionA relation names a column computed by the database.
MissingRelationValueExceptionSqlFixture\Fixture\ExceptionA generated parent row cannot supply the referenced value.
NullOverrideExceptionSqlFixture\Fixture\ExceptionAn override supplies null for a non-nullable column.
UnknownOverrideColumnExceptionSqlFixture\Fixture\ExceptionAn override names a column absent from the schema.
UnknownPlanColumnExceptionSqlFixture\Fixture\ExceptionA relation names a column absent from the schema.
ConnectedTables @visibility rootSqlFixture\Fixture\GenerationFinds the table component joined by fixture relations.
OverrideSpecsSqlFixture\Fixture\GenerationConverts per-table requests to row specifications.
RelationCounts @visibility rootSqlFixture\Fixture\GenerationChooses child row counts within a relation cardinality.
RelationProjectionSqlFixture\Fixture\GenerationProjects referenced column values between related rows.
RowMaterializerSqlFixture\Fixture\GenerationWalks the relations needed to materialize one connected fixture group.
EndpointValidator @visibility rootSqlFixture\Fixture\ValidationChecks that relation columns exist in their table schema.
OverrideValidatorSqlFixture\Fixture\ValidationRejects overrides that the declared table cannot store.
HydrationExceptionSqlFixture\HydratorFailures while constructing an object from fixture data.
ReflectionHydratorSqlFixture\HydratorHydrates rows through constructor parameters or existing object properties.
ClassNotFoundExceptionSqlFixture\Hydrator\ExceptionThe requested hydration class does not exist.
MissingConstructorArgumentExceptionSqlFixture\Hydrator\ExceptionFixture data cannot supply a required constructor argument.
ConstructorHydrationSqlFixture\Hydrator\ReflectionHydrates objects through their declared constructor.
PropertyHydrationSqlFixture\Hydrator\ReflectionHydrates objects by assigning existing properties.
PropertyNames @visibility rootSqlFixture\Hydrator\ReflectionMaps database names to constructor or property names.
ValueConversionSqlFixture\Hydrator\ReflectionConverts database values to declared PHP types.
ColumnRefSqlFixture\PlanOne end of a relation: a table and the columns of it that take part.
FixturePlan public APISqlFixture\PlanThe parsed form of a fixture plan: which tables take part, and how their columns line up.
PlanParserSqlFixture\PlanReads the relation syntax of DBML into a plan.
PlanPrinterSqlFixture\PlanWrites a plan back out in the syntax PlanParser reads.
PlanStructureExceptionSqlFixture\PlanFixture relations that cannot define a finite generation order.
PlanSyntaxExceptionSqlFixture\PlanInvalid fixture plan syntax and relation endpoints.
RelationSqlFixture\PlanOne relation as written, with the roles the operator implies.
CompositeArityMismatchExceptionSqlFixture\Plan\ExceptionThe two relation endpoints name different numbers of columns.
CyclicDependencyExceptionSqlFixture\Plan\ExceptionThe pending table dependencies contain a cycle.
DuplicateColumnBindingExceptionSqlFixture\Plan\ExceptionA child column is bound to two different parent endpoints.
EmptyPlanExceptionSqlFixture\Plan\ExceptionThe fixture plan names no tables.
EmptyTableNameExceptionSqlFixture\Plan\ExceptionA relation endpoint names no table.
InvalidTableNameExceptionSqlFixture\Plan\ExceptionA plan part is neither a relation nor a plain table name.
MissingEndpointColumnsExceptionSqlFixture\Plan\ExceptionA relation endpoint names no columns.
UnbalancedBracketsExceptionSqlFixture\Plan\ExceptionA fixture plan closes a bracket without an opening bracket.
UnboundedSelfReferenceExceptionSqlFixture\Plan\ExceptionA required self-reference has no terminating case.
UnexpectedPlanTokenExceptionSqlFixture\Plan\ExceptionA fixture plan token does not match the expected syntax.
UnsupportedManyToManyExceptionSqlFixture\Plan\ExceptionA many-to-many relation omits its junction table.
PlanStatements @visibility rootSqlFixture\Plan\ParsingSplits DBML at separators outside groups and composite keys.
RelationCursor @visibility rootSqlFixture\Plan\ParsingTracks the unread position of one DBML relation statement.
RelationReader @visibility rootSqlFixture\Plan\ParsingReads endpoints and optional relation groups from one statement.
PlanTables @visibility rootSqlFixture\Plan\PrintingFinds tables that do not participate in relations.
RelationGroups @visibility rootSqlFixture\Plan\PrintingGroups relations by their printable left endpoint and operator.
StatementPrinter @visibility rootSqlFixture\Plan\PrintingRenders a group of relations in DBML syntax.
PlanValidation @visibility rootSqlFixture\Plan\ValidationValidates relation bindings and orders tables by dependency.
TableName @visibility rootSqlFixture\Plan\ValidationValidates and normalizes a standalone plan table name.
PlatformFactorySqlFixture\PlatformFactory for creating platform-specific implementations.
DriverDetectionExceptionSqlFixture\Platform\ExceptionThe PDO connection did not report a driver name.
UnsupportedDriverExceptionSqlFixture\Platform\ExceptionA requested database driver has no platform implementation.
MySqlSchemaFetcherSqlFixture\Platform\MySqlFetches table schemas from MySQL databases using SHOW CREATE TABLE.
MySqlSchemaParserSqlFixture\Platform\MySqlReads MySQL CREATE TABLE statements into table schemas.
MySqlTypeMapperSqlFixture\Platform\MySqlGenerates fixture values from MySQL column declarations.
ColumnParser @visibility rootSqlFixture\Platform\MySql\SchemaReads a column declaration into a schema value.
CreateTableQuery @visibility rootSqlFixture\Platform\MySql\SchemaReads the database CREATE TABLE declaration.
DefaultExpression @visibility rootSqlFixture\Platform\MySql\SchemaInterprets a SQL default expression.
DefinitionIntegrity @visibility rootSqlFixture\Platform\MySql\SchemaChecks that the native parser retained every declared column.
IdentifierQuoter @visibility rootSqlFixture\Platform\MySql\SchemaQuotes table identifiers for the native schema query.
TableDefinition @visibility rootSqlFixture\Platform\MySql\SchemaReads the table name, columns and primary key from a CREATE TABLE statement.
TableDefinitionInput @visibility rootSqlFixture\Platform\MySql\SchemaSeparates fixture column metadata from physical table partitioning.
TypeParameters @visibility rootSqlFixture\Platform\MySql\SchemaReads length, precision and scale from a type declaration.
ColumnGenerator @visibility rootSqlFixture\Platform\MySql\ValueGenerates values from the dialect column type.
DecimalGenerator @visibility rootSqlFixture\Platform\MySql\ValueGenerates values for the declared precision and scale.
GeometryGenerator @visibility rootSqlFixture\Platform\MySql\ValueGenerates geometry values for the dialect's declared column type.
IntegerGenerator @visibility rootSqlFixture\Platform\MySql\ValueGenerates MySQL integers within the declared signed or unsigned range.
NumericGenerator @visibility rootSqlFixture\Platform\MySql\ValueGenerates numeric values for the dialect's declared column type.
SpatialGenerator @visibility rootSqlFixture\Platform\MySql\ValueConstructs valid Well Known Text geometry literals.
StringGenerator @visibility rootSqlFixture\Platform\MySql\ValueGenerates character, binary and enumerated column values.
TextGenerator @visibility rootSqlFixture\Platform\MySql\ValueGenerates textual values for the dialect's declared column type.
PostgreSqlSchemaFetcherSqlFixture\Platform\PostgreSqlFetches table schemas from PostgreSQL databases.
PostgreSqlSchemaParserSqlFixture\Platform\PostgreSqlRegex-based parser for PostgreSQL CREATE TABLE statements.
PostgreSqlTypeMapperSqlFixture\Platform\PostgreSqlType mapper for PostgreSQL column types.
CatalogColumn @visibility rootSqlFixture\Platform\PostgreSql\SchemaInterprets PostgreSQL catalog type and default metadata.
CatalogDdl @visibility rootSqlFixture\Platform\PostgreSql\SchemaReconstructs CREATE TABLE SQL from PostgreSQL catalog columns.
CatalogQuery @visibility rootSqlFixture\Platform\PostgreSql\SchemaReads PostgreSQL column and primary-key metadata for schema reflection.
CatalogSchema @visibility rootSqlFixture\Platform\PostgreSql\SchemaBuilds a schema directly from information_schema columns.
ColumnParser @visibility rootSqlFixture\Platform\PostgreSql\SchemaReads a column declaration into a schema value.
DefaultExpression @visibility rootSqlFixture\Platform\PostgreSql\SchemaInterprets a SQL default expression.
DefinitionList @visibility rootSqlFixture\Platform\PostgreSql\SchemaSplits table definitions while tracking parentheses.
TableSyntax @visibility rootSqlFixture\Platform\PostgreSql\SchemaReads the outer CREATE TABLE syntax.
TypeDeclaration @visibility rootSqlFixture\Platform\PostgreSql\SchemaTypeDeclaration.
ColumnGenerator @visibility rootSqlFixture\Platform\PostgreSql\ValueGenerates values from the dialect column type.
DecimalGenerator @visibility rootSqlFixture\Platform\PostgreSql\ValueGenerates values for the declared precision and scale.
NumericGenerator @visibility rootSqlFixture\Platform\PostgreSql\ValueGenerates numeric values for the dialect's declared column type.
StringGenerator @visibility rootSqlFixture\Platform\PostgreSql\ValueGenerates character, binary and enumerated column values.
StructuredGenerator @visibility rootSqlFixture\Platform\PostgreSql\ValueFormats PostgreSQL binary, interval, JSON and array values.
TemporalGenerator @visibility rootSqlFixture\Platform\PostgreSql\ValueGenerates temporal values for the dialect's declared column type.
SqliteSchemaFetcherSqlFixture\Platform\SqliteFetches table schemas from SQLite databases.
SqliteSchemaParser public APISqlFixture\Platform\SqliteSimple regex-based parser for SQLite CREATE TABLE statements.
SqliteTypeMapperSqlFixture\Platform\SqliteType mapper for SQLite based on type affinity rules.
ColumnParser @visibility rootSqlFixture\Platform\Sqlite\SchemaReads a column declaration into a schema value.
CreateTableQuery @visibility rootSqlFixture\Platform\Sqlite\SchemaReads the database CREATE TABLE declaration.
DefaultExpression @visibility rootSqlFixture\Platform\Sqlite\SchemaInterprets a SQL default expression.
DefinitionList @visibility rootSqlFixture\Platform\Sqlite\SchemaSplits table definitions while tracking parentheses.
PragmaColumn @visibility rootSqlFixture\Platform\Sqlite\SchemaConverts a SQLite table_info row to a column definition.
PragmaSchema @visibility rootSqlFixture\Platform\Sqlite\SchemaReconstructs a schema from SQLite PRAGMA column metadata.
TableSyntax @visibility rootSqlFixture\Platform\Sqlite\SchemaReads the outer CREATE TABLE syntax.
TypeDeclaration @visibility rootSqlFixture\Platform\Sqlite\SchemaTypeDeclaration.
ColumnGenerator @visibility rootSqlFixture\Platform\Sqlite\ValueGenerates values from the dialect column type.
TypeAffinity @visibility rootSqlFixture\Platform\Sqlite\ValueResolves SQLite storage affinity from a declared type name.
DatabaseSchemaCache @visibility rootSqlFixture\ProviderCaches reflected table schemas for one connection.
DdlDirectory @visibility rootSqlFixture\ProviderLoads table schemas from the SQL files in a directory.
DdlFile @visibility rootSqlFixture\ProviderReads a DDL file and rejects statements outside the schema grammar.
SqlSchemaProvider @visibility rootSqlFixture\ProviderKeeps the provider schema cache and its protected inheritance hook together.
ColumnDefinitionSqlFixture\SchemaDescribes one SQL column, including its type, default and constraints.
DefinitionSegments @visibility rootSqlFixture\SchemaSeparates column declarations without splitting quoted text or nested expressions.
MySqlSchemaParserSqlFixture\Schema
SchemaNotFoundExceptionSqlFixture\SchemaA requested table has no registered schema.
SchemaParseExceptionSqlFixture\SchemaFailures extracting a table schema from SQL.
StaticSchemaResolverSqlFixture\SchemaResolves schemas from an in-memory, case-insensitive registry.
TableIdentifier @visibility rootSqlFixture\SchemaResolves quoted or qualified names to the case-insensitive schema registry key.
TableSchemaSqlFixture\SchemaHolds the named columns and ordered primary key of one table.
TypeShape @visibility rootSqlFixture\SchemaThe size and numeric precision carried by a parsed SQL type declaration.
ExpectedCreateTableExceptionSqlFixture\Schema\ExceptionSQL does not contain a CREATE TABLE statement.
InvalidSqlExceptionSqlFixture\Schema\ExceptionSQL cannot be parsed into a table definition.
MissingColumnDefinitionsExceptionSqlFixture\Schema\ExceptionA table definition has no usable columns.
DecimalRange @visibility rootSqlFixture\TypeMapperThe finite decimal interval described by precision, scale and signedness.
IntegerRange @visibility rootSqlFixture\TypeMapperSQL integer bounds restricted to values representable by PHP integers.
MySqlTypeMapperSqlFixture\TypeMapper
ParagraphGenerator @visibility rootSqlFixture\TypeMapperReads Faker paragraph text through its dynamically configured formatter boundary.

Enums 4§

ConversionTarget @visibility rootSqlFixture\Hydrator\ReflectionPHP types for which database values have an explicit conversion rule.
RelationKindSqlFixture\PlanThe relationship operators of DBML, whose values are the operators themselves.
RelationSideSqlFixture\PlanWhich end of a written relation is meant, before roles are worked out.
IntegerWidth @visibility rootSqlFixture\TypeMapperInteger storage widths represented by the supported SQL dialects.