PHP 클래스 N98\Util\WindowsSystem

Utility class with global static functions.
파일 보기 프로젝트 열기: netz98/n98-magerun

공개 메소드들

메소드 설명
isExecutableName ( string $name ) : boolean a name is executable based on it's extension
isProgramInstalled ( string $program ) : boolean a program (by it's basename) is available on system for execution

비공개 메소드들

메소드 설명
__construct ( )
getExecuteableExtesions ( ) : array
getInstance ( ) : WindowsSystem an instance is bootstrapped in to prevent initialization overhead

메소드 상세

isExecutableName() 공개 정적인 메소드

a name is executable based on it's extension
public static isExecutableName ( string $name ) : boolean
$name string
리턴 boolean

isProgramInstalled() 공개 정적인 메소드

a program (by it's basename) is available on system for execution
public static isProgramInstalled ( string $program ) : boolean
$program string
리턴 boolean