PHP Класс PHPUnit_Util_Filesystem, qcodo

Автор: Sebastian Bergmann ([email protected])
Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

Свойство Тип Описание
$buffer array

Открытые методы

Метод Описание
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.

Описание методов

classNameToFilename() публичный статический метод

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
Результат string

collectEnd() публичный статический метод

Stops the collection of loaded files and returns the names of the loaded files.
public static collectEnd ( ) : array
Результат array

collectEndAndAddToBlacklist() публичный статический метод

Stops the collection of loaded files and adds the names of the loaded files to the blacklist.
public static collectEndAndAddToBlacklist ( ) : array
Результат array

collectStart() публичный статический метод

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

fileExistsInIncludePath() публичный статический метод

Implementation of stream_resolve_include_path() in PHP for version before PHP 5.3.2.
Автор: Mattis Stordalen Flister ([email protected])
public static fileExistsInIncludePath ( string $file ) : mixed
$file string
Результат mixed

Описание свойств

$buffer защищенное статическое свойство

protected static array $buffer
Результат array