PHP Class PhpBrew\Platform\Linux

Inheritance: implements PhpBrew\Platform\Platform
Mostra file Open project: phpbrew/phpbrew Class Usage Examples

Public Methods

Method Description
__construct ( PhpBrew\Platform\Hardware $hardware )
getOSVersion ( )
is32bit ( )
is64bit ( )
isCentOS ( )
isDebian ( )
isLinux ( )
isMac ( )

Protected Methods

Method Description
setDistribution ( $distribution )

Method Details

__construct() public method

public __construct ( PhpBrew\Platform\Hardware $hardware )
$hardware PhpBrew\Platform\Hardware

getOSVersion() public method

public getOSVersion ( )

is32bit() public method

public is32bit ( )

is64bit() public method

public is64bit ( )

isCentOS() public method

public isCentOS ( )

isDebian() public method

public isDebian ( )

isLinux() public method

public isLinux ( )

isMac() public method

public isMac ( )

setDistribution() protected method

protected setDistribution ( $distribution )