MappingException
extends Exception
in package
A MappingException indicates that something is wrong with the mapping setup.
Table of Contents
- classNotFoundInNamespaces() : self
- fileMappingDriversRequireConfiguredDirectoryPath() : self
- invalidMappingFile() : self
- mappingFileNotFound() : self
- nonExistingClass() : self
- pathRequired() : self
Methods
classNotFoundInNamespaces()
public
static classNotFoundInNamespaces(string $className, array<string|int, string> $namespaces) : self
Parameters
- $className : string
- $namespaces : array<string|int, string>
Return values
self —fileMappingDriversRequireConfiguredDirectoryPath()
public
static fileMappingDriversRequireConfiguredDirectoryPath([string|null $path = null ]) : self
Parameters
- $path : string|null = null
Return values
self —invalidMappingFile()
public
static invalidMappingFile(string $entityName, string $fileName) : self
Parameters
- $entityName : string
- $fileName : string
Return values
self —mappingFileNotFound()
public
static mappingFileNotFound(string $entityName, string $fileName) : self
Parameters
- $entityName : string
- $fileName : string
Return values
self —nonExistingClass()
public
static nonExistingClass(string $className) : self
Parameters
- $className : string
Return values
self —pathRequired()
public
static pathRequired() : self