class MappingException extends Exception (View source)

A MappingException indicates that something is wrong with the mapping setup.

Methods

classNotFoundInNamespaces(string $className, string[] $namespaces)

No description

pathRequired()

No description

fileMappingDriversRequireConfiguredDirectoryPath(string|null $path = null)

No description

mappingFileNotFound(string $entityName, string $fileName)

No description

invalidMappingFile(string $entityName, string $fileName)

No description

nonExistingClass(string $className)

No description

Details

static MappingException classNotFoundInNamespaces(string $className, string[] $namespaces)

Parameters

string $className
string[] $namespaces

Return Value

MappingException

static MappingException pathRequired()

Return Value

MappingException

static MappingException fileMappingDriversRequireConfiguredDirectoryPath(string|null $path = null)

Parameters

string|null $path

Return Value

MappingException

static MappingException mappingFileNotFound(string $entityName, string $fileName)

Parameters

string $entityName
string $fileName

Return Value

MappingException

static MappingException invalidMappingFile(string $entityName, string $fileName)

Parameters

string $entityName
string $fileName

Return Value

MappingException

static MappingException nonExistingClass(string $className)

Parameters

string $className

Return Value

MappingException