PHP 클래스 AppserverIo\Appserver\Core\Scanner\Mock\MockAbstractScanner

상속: extends AppserverIo\Appserver\Core\Scanner\AbstractScanner
파일 보기 프로젝트 열기: appserver-io/appserver 1 사용 예제들

공개 메소드들

메소드 설명
main ( ) : void The thread implementation main method which will be called from run in abstractness
testableGetDistributionVersion ( string | null $distribution = null, array $etcList = [] ) : string | boolean This method will check for the Linux release file normally stored in /etc and will return the version of the distribution

보호된 메소드들

메소드 설명
getEtcDir ( ) : string Returns the systems configuration root directory aka "etc"
getExtensionsToWatch ( ) : array Returns an array with file extensions that are used to create the directory hash.

메소드 상세

getEtcDir() 보호된 메소드

Returns the systems configuration root directory aka "etc"
protected getEtcDir ( ) : string
리턴 string

getExtensionsToWatch() 보호된 메소드

Returns an array with file extensions that are used to create the directory hash.
또한 보기: AppserverIo\Appserver\Core\Scanner\AbstractScanner::getDirectoryHash()
protected getExtensionsToWatch ( ) : array
리턴 array The array with the file extensions

main() 공개 메소드

The thread implementation main method which will be called from run in abstractness
public main ( ) : void
리턴 void

testableGetDistributionVersion() 공개 메소드

This method will check for the Linux release file normally stored in /etc and will return the version of the distribution
public testableGetDistributionVersion ( string | null $distribution = null, array $etcList = [] ) : string | boolean
$distribution string | null Distribution to search a version for
$etcList array List of already collected AND flipped release files we need to filter
리턴 string | boolean