PHP Класс AppserverIo\Appserver\Core\Utilities\Mock\AppEnvironmentHelperMock

Автор: Bernhard Wick ([email protected])
Наследование: extends AppserverIo\Appserver\Core\Utilities\AppEnvironmentHelper
Показать файл Открыть проект Примеры использования класса

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

Свойство Тип Описание
$cachedGlobDirResult AppserverIo\Properties\Properties Cached configuration properties

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

Метод Описание
setEnvironmentProperty ( $value )
setGlobDirResult ( array $result ) : void (Pre-) sets the the globDir() method result as a means to stub the method

Защищенные методы

Метод Описание
globDir ( string $pattern, integer $flags, boolean $recursive = true ) : array Parses and returns the directories and files that matches the passed glob pattern in a recursive way (if wanted).

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

globDir() защищенный статический Метод

Parses and returns the directories and files that matches the passed glob pattern in a recursive way (if wanted).
protected static globDir ( string $pattern, integer $flags, boolean $recursive = true ) : array
$pattern string The glob pattern used to parse the directories
$flags integer The flags passed to the glob function
$recursive boolean Whether or not to parse directories recursively
Результат array The directories matches the passed glob pattern

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

public static setEnvironmentProperty ( $value )
$value

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

(Pre-) sets the the globDir() method result as a means to stub the method
public static setGlobDirResult ( array $result ) : void
$result array The prepared result
Результат void

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

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

Cached configuration properties
protected static Properties,AppserverIo\Properties $cachedGlobDirResult
Результат AppserverIo\Properties\Properties