PersisterHelper
in package
The PersisterHelper contains logic to infer binding types which is used in several persisters.
Tags
Table of Contents
Methods
- getTypeOfColumn() : string
- getTypeOfField() : array<int, string>
Methods
getTypeOfColumn()
public
static getTypeOfColumn(string $columnName, ClassMetadata $class, EntityManagerInterface $em) : string
Parameters
- $columnName : string
- $class : ClassMetadata
- $em : EntityManagerInterface
Tags
Return values
stringgetTypeOfField()
public
static getTypeOfField(string $fieldName, ClassMetadata $class, EntityManagerInterface $em) : array<int, string>
Parameters
- $fieldName : string
- $class : ClassMetadata
- $em : EntityManagerInterface