\Horde_Test_Autoload

Reduced Horde Autoloader for test suites.

PHP version 5

Copyright 2009-2017 Horde LLC (http://www.horde.org/)

See the enclosed file LICENSE for license information (LGPL). If you did not receive this file, see http://www.horde.org/licenses/lgpl21.

Summary

Methods
Properties
Constants
init()
addPrefix()
resolve()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
$_mappings
$_runonce
N/A

Properties

$_mappings

$_mappings : array

Prefix mappings.

Type

array

$_runonce

$_runonce : boolean

Only run init code once.

Type

boolean

Methods

init()

init() 

Base autoloader code for Horde PEAR packages.

addPrefix()

addPrefix(string  $prefix, string  $path) 

Add a prefix to the autoloader.

Parameters

string $prefix

Prefix to add.

string $path

Path to the prefix.

resolve()

resolve(string  $class) : string

Resolve classname to a filename.

Parameters

string $class

Class name.

Returns

string —

Resolved filename.