Horde_Autoloader_ClassPathMapper_Prefix
in package
implements
Horde_Autoloader_ClassPathMapper
Provides a classmapper that implements generic pattern for different mapping types within the application directory.
Tags
Interfaces, Classes, Traits and Enums
- Horde_Autoloader_ClassPathMapper
- Interface for autoloader class path mappers.
Table of Contents
- $_includePath : string
- Include path.
- $_pattern : string
- PCRE pattern to match in class.
- __construct() : mixed
- Constructor
- mapToPath() : mixed
- Search for a mapping from class to file path.
Properties
$_includePath
Include path.
private
string
$_includePath
$_pattern
PCRE pattern to match in class.
private
string
$_pattern
Methods
__construct()
Constructor
public
__construct(string $pattern, string $includePath) : mixed
Parameters
- $pattern : string
-
PCRE pattern.
- $includePath : string
-
Include path.
Return values
mixed —mapToPath()
Search for a mapping from class to file path.
public
mapToPath(mixed $className) : mixed
Parameters
- $className : mixed
-
Classname to load.
Return values
mixed —Pathname to class, or false if not found.