AnnotateCommand extends Command implements AnnotationInterface uses AnnotationTrait
Tags
Table of Contents
Interfaces
Methods
- annotateEntity() : array<string|int, mixed>|string
- annotateExpression() : mixed
- annotateManyToMany() : mixed
- annotateOneToMany() : mixed
- annotateReference() : mixed
- annotateScalarField() : mixed
- annotateUserType() : mixed
- scalarFieldToTypeHint() : string
- tryToFindEntity() : mixed
Methods
annotateEntity()
public
static annotateEntity(Entity $entity[, mixed $ufOnly = false ][, false $separateTable = false ]) : array<string|int, mixed>|string
Parameters
- $entity : Entity
- $ufOnly : mixed = false
- $separateTable : false = false
Return values
array<string|int, mixed>|stringannotateExpression()
public
static annotateExpression(ExpressionField $field) : mixed
Parameters
- $field : ExpressionField
annotateManyToMany()
public
static annotateManyToMany(ManyToMany $field) : mixed
Parameters
- $field : ManyToMany
annotateOneToMany()
public
static annotateOneToMany(OneToMany $field) : mixed
Parameters
- $field : OneToMany
annotateReference()
public
static annotateReference(Reference $field) : mixed
Parameters
- $field : Reference
annotateScalarField()
public
static annotateScalarField(ScalarField $field) : mixed
Parameters
- $field : ScalarField
annotateUserType()
public
static annotateUserType(UserTypeField $field) : mixed
Parameters
- $field : UserTypeField
scalarFieldToTypeHint()
public
static scalarFieldToTypeHint(mixed $field) : string
Parameters
- $field : mixed
Return values
stringtryToFindEntity()
public
static tryToFindEntity(mixed $entityClass) : mixed
Parameters
- $entityClass : mixed