PHP Class CRUDlex\MySQLDataFactory

Inheritance: implements crudlex\DataFactoryInterface
Afficher le fichier Open project: philiplb/crudlex

Protected Properties

Свойство Type Description
$database Holds the Doctrine DBAL instance.
$useUUIDs Flag whether to use UUIDs as primary key.

Méthodes publiques

Méthode Description
__construct ( $database, $useUUIDs = false ) Constructor.
createData ( EntityDefinition $definition, crudlex\FileProcessorInterface $fileProcessor )

Method Details

__construct() public méthode

Constructor.
public __construct ( $database, $useUUIDs = false )
$database the Doctrine DBAL instance
$useUUIDs flag whether to use UUIDs as primary key

createData() public méthode

public createData ( EntityDefinition $definition, crudlex\FileProcessorInterface $fileProcessor )
$definition EntityDefinition
$fileProcessor crudlex\FileProcessorInterface

Property Details

$database protected_oe property

Holds the Doctrine DBAL instance.
protected $database

$useUUIDs protected_oe property

Flag whether to use UUIDs as primary key.
protected $useUUIDs