PHP Class PHPUnit_Util_Filesystem, qcodo

Author: Sebastian Bergmann ([email protected])
Show file Open project: qcodo/qcodo Class Usage Examples

Protected Properties

Property Type Description
$buffer array

Public Methods

Method Description
classNameToFilename ( string $className ) : string Maps class names to source file names: - PEAR CS: Foo_Bar_Baz -> Foo/Bar/Baz.php - Namespace: Foo\Bar\Baz -> Foo/Bar/Baz.php
collectEnd ( ) : array Stops the collection of loaded files and returns the names of the loaded files.
collectEndAndAddToBlacklist ( ) : array Stops the collection of loaded files and adds the names of the loaded files to the blacklist.
collectStart ( ) Starts the collection of loaded files.
fileExistsInIncludePath ( string $file ) : mixed Implementation of stream_resolve_include_path() in PHP for version before PHP 5.3.2.

Method Details

classNameToFilename() public static method

Maps class names to source file names: - PEAR CS: Foo_Bar_Baz -> Foo/Bar/Baz.php - Namespace: Foo\Bar\Baz -> Foo/Bar/Baz.php
public static classNameToFilename ( string $className ) : string
$className string
return string

collectEnd() public static method

Stops the collection of loaded files and returns the names of the loaded files.
public static collectEnd ( ) : array
return array

collectEndAndAddToBlacklist() public static method

Stops the collection of loaded files and adds the names of the loaded files to the blacklist.
public static collectEndAndAddToBlacklist ( ) : array
return array

collectStart() public static method

Starts the collection of loaded files.
public static collectStart ( )

fileExistsInIncludePath() public static method

Implementation of stream_resolve_include_path() in PHP for version before PHP 5.3.2.
Author: Mattis Stordalen Flister ([email protected])
public static fileExistsInIncludePath ( string $file ) : mixed
$file string
return mixed

Property Details

$buffer protected static property

protected static array $buffer
return array