Overview

Namespaces

  • CRUDlex

Classes

  • CRUDControllerProvider
  • CRUDData
  • CRUDEntity
  • CRUDEntityDefinition
  • CRUDMySQLData
  • CRUDMySQLDataFactory
  • CRUDServiceProvider
  • CRUDSimpleFilesystemFileProcessor

Interfaces

  • CRUDDataFactoryInterface
  • CRUDFileProcessorInterface
  • Overview
  • Namespace
  • Class

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 )

Constructor.

Constructor.

Parameters

$db
Doctrine DBAL instance
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.

#
CRUDlex API API documentation generated by ApiGen