PHP 클래스 AppserverIo\Appserver\Core\Utilities\Mock\AppEnvironmentHelperMock

저자: Bernhard Wick ([email protected])
상속: extends AppserverIo\Appserver\Core\Utilities\AppEnvironmentHelper
파일 보기 프로젝트 열기: appserver-io/appserver 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$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