class PersisterHelper (View source)

The PersisterHelper contains logic to infer binding types which is used in several persisters.

Methods

static array
getTypeOfField(string $fieldName, ClassMetadata $class, EntityManagerInterface $em)

No description

static string
getTypeOfColumn(string $columnName, ClassMetadata $class, EntityManagerInterface $em)

No description

Details

static array getTypeOfField(string $fieldName, ClassMetadata $class, EntityManagerInterface $em)

Parameters

string $fieldName
ClassMetadata $class
EntityManagerInterface $em

Return Value

array

Exceptions

QueryException

static string getTypeOfColumn(string $columnName, ClassMetadata $class, EntityManagerInterface $em)

Parameters

string $columnName
ClassMetadata $class
EntityManagerInterface $em

Return Value

string

Exceptions

RuntimeException