PHP Class PhpBrew\Platform\PlatformInfo

显示文件 Open project: phpbrew/phpbrew

Public Methods

Method Description
getInstance ( )
isCentOS ( )
isDebian ( )
isLinux ( )
isMac ( )

Protected Methods

Method Description
createPlatform ( $kernelName )

Private Methods

Method Description
__construct ( PhpBrew\Platform\Platform $platform )
isDarwinKernel ( $kernelName )
isLinuxKernel ( $kernelName )
isWindowsKernel ( $kernelName )

Method Details

createPlatform() protected static method

protected static createPlatform ( $kernelName )

getInstance() public static method

public static getInstance ( )

isCentOS() public method

public isCentOS ( )

isDebian() public method

public isDebian ( )

isLinux() public method

public isLinux ( )

isMac() public method

public isMac ( )