# CRUDlex\MySQLDataFactory

class `MySQLDataFactory`

  A factory implementation for MySQLData instances.

  property `database`

    protected Connection

    Holds the Doctrine DBAL instance.

  property `useUUIDs`

    protected bool

    Flag whether to use UUIDs as primary key.

  `__construct`(Connection $database, $useUUIDs = false)

    Constructor.

    Parameters: | $database (Connection) – $useUUIDs –

  `createData`(EntityDefinition $definition, FilesystemInterface $filesystem)

    {@inheritdoc}

    Parameters: | $definition (EntityDefinition) – $filesystem (FilesystemInterface) –