classMySqlSessionFactory
final class MySqlSessionFactory
implements SessionFactory
Factory for creating Session instances pre-configured for MySQL.
Methods§
public function create(ConnectionInterface $connection, ZtdConfig $config): SessionCreate a Session pre-configured for MySQL.
Parameters
$connection | ConnectionInterface | |
$config | ZtdConfig |
Returns
Test cases 4
Calls 27
- static-call
Context::setMode()line 42 - method-call MySqlSessionSqlModeReflector::reflect() line 42
- new MySqlSessionSqlModeReflector line 42
- new ShadowStore line 44
- new MySqlParser line 45
- new MySqlSchemaParser line 46
- new TableDefinitionRegistry line 47
- new MySqlSchemaReflector line 49
- method-call MySqlSchemaReflector::reflectAll() line 50
- method-call MySqlSchemaParser::parse() line 51
- method-call TableDefinitionRegistry::register() line 53
- new ViewDefinitionSet line 56
- method-call MySqlSchemaReflector::reflectViews() line 57
- method-call ViewDefinitionSet::register() line 58
- new MySqlQueryGuard line 61
- new SelectTransformer line 62
- new InsertTransformer line 63
- new UpdateTransformer line 64
- new DeleteTransformer line 65
- new ReplaceTransformer line 66
- new MySqlTransformer line 67
- new MySqlMutationResolver line 68
- new MySqlRewriter line 69
- new Session line 71
- new ResultSelectRunner line 74
- new ShadowTransactions line 77
- new MySqlResultColumnTypeResolver line 79
Test cases 9§
Test cases that cover or call this symbol, from the coverage report and from the analyzed test sources.
Dedicated tests 3
Other tests reaching this symbol 6
MysqliSessionFactoryInjectionTest::testExplicitMySqlSessionFactoryInjectionWorkscallsMysqliSessionFactoryInjectionTest::testInjectedFactoryAffectedRowsTrackingcallsMysqliSessionFactoryInjectionTest::testInjectedFactoryDoesNotModifyPhysicalDatabasecallsMysqliSessionFactoryInjectionTest::testInjectedFactoryInsertIsVisibleViaSelectcallsMysqliSessionFactoryInjectionTest::testInjectedFactoryPreparedStatementWorkscallsZtdMysqliTest::testQueryUsesTheProvidedFactoryAndConfigurationcalls