| Methods |
public
static
|
scheduleInsertForManagedEntity(object $entity): ORMInvalidArgumentException
|
#
|
public
static
|
scheduleInsertForRemovedEntity(object $entity): ORMInvalidArgumentException
|
#
|
public
static
|
scheduleInsertTwice(object $entity): ORMInvalidArgumentException
|
#
|
public
static
|
entityWithoutIdentity(string $className, object $entity): ORMInvalidArgumentException
|
#
|
public
static
|
readOnlyRequiresManagedEntity(object $entity): ORMInvalidArgumentException
|
#
|
public
static
|
newEntitiesFoundThroughRelationships(
non-empty-list<array{AssociationMapping, object}> $newEntitiesWithAssociations,
): ORMInvalidArgumentException
Parameters
| $newEntitiesWithAssociations |
non-empty an array
of [array $associationMapping, object $entity] pairs
|
|
#
|
public
static
|
newEntityFoundThroughRelationship(AssociationMapping $associationMapping, object $entry): ORMInvalidArgumentException
|
#
|
public
static
|
detachedEntityFoundThroughRelationship(AssociationMapping $assoc, object $entry): ORMInvalidArgumentException
|
#
|
public
static
|
entityNotManaged(object $entity): ORMInvalidArgumentException
|
#
|
public
static
|
entityHasNoIdentity(object $entity, string $operation): ORMInvalidArgumentException
|
#
|
public
static
|
entityIsRemoved(object $entity, string $operation): ORMInvalidArgumentException
|
#
|
public
static
|
detachedEntityCannot(object $entity, string $operation): ORMInvalidArgumentException
|
#
|
public
static
|
invalidObject(string $context, mixed $given, int $parameterIndex = 1): ORMInvalidArgumentException
|
#
|
public
static
|
invalidCompositeIdentifier(): ORMInvalidArgumentException
|
#
|
public
static
|
invalidIdentifierBindingEntity(): ORMInvalidArgumentException
|
#
|
public
static
|
invalidAssociation(ClassMetadata $targetClass, AssociationMapping $assoc, mixed $actualValue): self
|
#
|
public
static
|
invalidEntityName(mixed $entityName): self
Used when a given entityName hasn't the good type
Used when a given entityName hasn't the good type
Deprecated
This method will be removed in 3.0.
Parameters
| $entityName |
The given entity (which shouldn't be a string)
|
|
#
|
private
static
|
objToStr(object $obj): string
Helper method to show an object as string.
Helper method to show an object as string.
|
#
|
private
static
|
newEntityFoundThroughRelationshipMessage(AssociationMapping $associationMapping, object $entity): string
|
#
|