Joomla CMS
4.2.2
Documentation des API du CMS Joomla en version 4.2.2
|
Fonctions membres publiques | |
enhance (\Throwable $error) | |
Fonctions membres privées | |
getClassCandidates (string $class) | |
findClassInPath (string $path, string $class, string $prefix) | |
convertFileToClass (string $path, string $file, string $prefix) | |
classExists (string $class) | |
|
private |
Références $class.
Référencé par ClassNotFoundErrorEnhancer\convertFileToClass().
|
private |
Références $path, $prefix, ClassNotFoundErrorEnhancer\classExists(), et null.
Référencé par ClassNotFoundErrorEnhancer\findClassInPath().
enhance | ( | \Throwable | $error | ) |
{Returns an instance if the class is able to improve the error, null otherwise.}
Implémente ErrorEnhancerInterface.
Références $className, $message, ClassNotFoundErrorEnhancer\getClassCandidates(), FatalError\getError(), et null.
|
private |
Références $class, $classes, $path, $prefix, et ClassNotFoundErrorEnhancer\convertFileToClass().
Référencé par ClassNotFoundErrorEnhancer\getClassCandidates().
|
private |
Tries to guess the full namespace for a given class name.
By default, it looks for PSR-0 and PSR-4 classes registered via a Symfony or a Composer autoloader (that should cover all common cases).
string | $class | A class name (without its namespace) |
Returns an array of possible fully qualified class names
Références $class, $classes, $function, $path, $prefix, et ClassNotFoundErrorEnhancer\findClassInPath().
Référencé par ClassNotFoundErrorEnhancer\enhance().