# Class CRUDMySQLDataFactory

A factory implementation for `CRUDlex\CRUDMySQLData` instances.

  CRUDlex\CRUDMySQLDataFactory implements CRUDlex\CRUDDataFactoryInterface

Namespace: CRUDlex
Located at CRUDMySQLDataFactory.php

Methods summary
`public` | # `__construct( $db, $useUUIDs = false )` Constructor. Constructor. #### Parameters $db Doctrine DBAL instance $useUUIDs whether to use UUIDs as primary key
`public `CRUDlex\CRUDData`` | # `createData( `CRUDlex\CRUDEntityDefinition` $definition, `CRUDlex\CRUDFileProcessorInterface` $fileProcessor )` Creates instances. Creates instances. #### Parameters $definition the definition of the entities managed by the to be created instance $fileProcessor the file processor managing uploaded files #### Returns `CRUDlex\CRUDData` the newly created instance #### Implementation of `CRUDlex\CRUDDataFactoryInterface::createData()`

Properties summary
`protected` | $db Holds the Doctrine DBAL instance. Holds the Doctrine DBAL instance. | # ``
`protected` | $useUUIDs Flag whether to use UUIDs as primary key. Flag whether to use UUIDs as primary key. | # ``