Documentation

MappingException extends Exception
in package

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

Table of Contents

Methods

classIsAnonymous()  : self
classNotFoundInNamespaces()  : self
fileMappingDriversRequireConfiguredDirectoryPath()  : self
invalidMappingFile()  : self
mappingFileNotFound()  : self
nonExistingClass()  : self
pathRequiredForDriver()  : self

Methods

classIsAnonymous()

public static classIsAnonymous(class-string $className) : self
Parameters
$className : class-string
Return values
self

classNotFoundInNamespaces()

public static classNotFoundInNamespaces(string $className, array<int, string> $namespaces) : self
Parameters
$className : string
$namespaces : array<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

pathRequiredForDriver()

public static pathRequiredForDriver(class-string $driverClassName) : self
Parameters
$driverClassName : class-string
Return values
self

        
On this page

Search results