class MappingException extends MappingException implements PHPCRExceptionInterface (View source)

Mapping exception class.

Methods

static 
classNotFound($className)

No description

static 
fieldNotFound($className, $fieldName)

Asking for the mapping of a field that does not exist.

static 
classHasNoField($className, $fieldName)

Non-annotation mappings could specify a fieldName that does not exist on the class.

static 
illegalChildName($className, $fieldName, $nodeName, $previous = null)

No description

static 
associationNotFound($className, $fieldName)

No description

static 
classIsNotAValidDocument($className)

No description

static 
reflectionFailure($document, ReflectionException $previousException)

No description

static 
duplicateFieldMapping(string $document, string $fieldName)

No description

static 
missingTypeDefinition(string $document, string $fieldName)

No description

static 
classNotMapped($className)

No description

static 
noTypeSpecified()

No description

static 
assocOverlappingFieldDefinition($document, $fieldName, $overlappingFieldName)

No description

static 
assocOverlappingAssocDefinition($document, $fieldName, $overlappingAssoc)

No description

static 
referrerWithoutReferencedBy($document, $fieldName)

No description

static 
referrerWithoutReferringDocument($document, $fieldName)

No description

static 
mappingNotFound($className, $fieldName)

No description

static 
identifierRequired($entityName, $what)

No description

static 
repositoryRequired($entityName)

No description

static 
repositoryNotExisting($entityName, $repositoryClass)

No description

static 
invalidTargetDocumentClass($targetDocument, $sourceDocument, $associationName)

No description

static 
lifecycleCallbackMethodNotFound($className, $methodName)

No description

static 
noTranslatorStrategy($className, $fieldNames)

No description

static 
notReferenceable($className, $fieldName)

No description

Details

static classNotFound($className)

Parameters

$className

static fieldNotFound($className, $fieldName)

Asking for the mapping of a field that does not exist.

Parameters

$className
$fieldName

static classHasNoField($className, $fieldName)

Non-annotation mappings could specify a fieldName that does not exist on the class.

Parameters

$className
$fieldName

static illegalChildName($className, $fieldName, $nodeName, $previous = null)

Parameters

$className
$fieldName
$nodeName
$previous

static associationNotFound($className, $fieldName)

Parameters

$className
$fieldName

static classIsNotAValidDocument($className)

Parameters

$className

static reflectionFailure($document, ReflectionException $previousException)

Parameters

$document
ReflectionException $previousException

static duplicateFieldMapping(string $document, string $fieldName)

Parameters

string $document The document's name
string $fieldName The name of the field that was already declared

static missingTypeDefinition(string $document, string $fieldName)

Parameters

string $document The document's name
string $fieldName The name of the field that was already declared

static classNotMapped($className)

Parameters

$className

static noTypeSpecified()

static assocOverlappingFieldDefinition($document, $fieldName, $overlappingFieldName)

Parameters

$document
$fieldName
$overlappingFieldName

static assocOverlappingAssocDefinition($document, $fieldName, $overlappingAssoc)

Parameters

$document
$fieldName
$overlappingAssoc

static referrerWithoutReferencedBy($document, $fieldName)

Parameters

$document
$fieldName

static referrerWithoutReferringDocument($document, $fieldName)

Parameters

$document
$fieldName

static mappingNotFound($className, $fieldName)

Parameters

$className
$fieldName

static identifierRequired($entityName, $what)

Parameters

$entityName
$what

static repositoryRequired($entityName)

Parameters

$entityName

static repositoryNotExisting($entityName, $repositoryClass)

Parameters

$entityName
$repositoryClass

static invalidTargetDocumentClass($targetDocument, $sourceDocument, $associationName)

Parameters

$targetDocument
$sourceDocument
$associationName

static lifecycleCallbackMethodNotFound($className, $methodName)

Parameters

$className
$methodName

static noTranslatorStrategy($className, $fieldNames)

Parameters

$className
$fieldNames

static notReferenceable($className, $fieldName)

Parameters

$className
$fieldName