PHP 클래스 PhpBrew\Config

파일 보기 프로젝트 열기: phpbrew/phpbrew 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$currentPhpVersion

공개 메소드들

메소드 설명
getBuildDir ( ) php(s) could be global, so we use ROOT path.
getCacheDir ( ) cache directory for configure.
getConfig ( )
getConfigParam ( $param = null )
getCurrentBuildDir ( )
getCurrentPhpBin ( )
getCurrentPhpConfigBin ( )
getCurrentPhpConfigScanPath ( $home = false ) XXX: This method should be migrated to PhpBrew\Build class.
getCurrentPhpDir ( $home = false )
getCurrentPhpName ( ) : string getCurrentPhpName return the current php version from self::$currentPhpVersion or from environment variable PHPBREW_PHP.
getCurrentPhpizeBin ( )
getDistFileDir ( )
getHome ( ) : string Return optional home directory.
getInstallPrefix ( ) : string A build prefix is the prefix we specified when we install the PHP.
getInstalledPhpVersions ( ) XXX: This method is now deprecated. use findMatchedBuilds insteads.
getLookupPrefix ( )
getPHPReleaseListPath ( )
getProxyConfig ( )
getRegistryDir ( )
getRoot ( )
getTempFileDir ( )
getVariantsDir ( ) Variants is private, so we use HOME path.
getVersionBinPath ( $buildName )
getVersionEtcPath ( string $buildName ) : string XXX: This method should be migrated to PhpBrew\Build class.
getVersionInstallPrefix ( $version )
initDirectories ( $buildName = null )
putPathEnvFor ( $buildName )
setPhpVersion ( $phpVersion ) XXX: needs to be removed.
setPhpbrewHome ( $home )
setPhpbrewRoot ( $root )
useSystemPhpVersion ( ) XXX: needs to be removed.

메소드 상세

getBuildDir() 공개 정적인 메소드

php(s) could be global, so we use ROOT path.
public static getBuildDir ( )

getCacheDir() 공개 정적인 메소드

cache directory for configure.
public static getCacheDir ( )

getConfig() 공개 정적인 메소드

public static getConfig ( )

getConfigParam() 공개 정적인 메소드

public static getConfigParam ( $param = null )

getCurrentBuildDir() 공개 정적인 메소드

public static getCurrentBuildDir ( )

getCurrentPhpBin() 공개 정적인 메소드

public static getCurrentPhpBin ( )

getCurrentPhpConfigBin() 공개 정적인 메소드

public static getCurrentPhpConfigBin ( )

getCurrentPhpConfigScanPath() 공개 정적인 메소드

XXX: This method should be migrated to PhpBrew\Build class.
public static getCurrentPhpConfigScanPath ( $home = false )

getCurrentPhpDir() 공개 정적인 메소드

public static getCurrentPhpDir ( $home = false )

getCurrentPhpName() 공개 정적인 메소드

getCurrentPhpName return the current php version from self::$currentPhpVersion or from environment variable PHPBREW_PHP.
public static getCurrentPhpName ( ) : string
리턴 string

getCurrentPhpizeBin() 공개 정적인 메소드

public static getCurrentPhpizeBin ( )

getDistFileDir() 공개 정적인 메소드

public static getDistFileDir ( )

getHome() 공개 정적인 메소드

Return optional home directory.
public static getHome ( ) : string
리턴 string

getInstallPrefix() 공개 정적인 메소드

when PHPBREW_ROOT is pointing to /home/user/.phpbrew php(s) will be installed into /home/user/.phpbrew/php/php-{version}
public static getInstallPrefix ( ) : string
리턴 string

getInstalledPhpVersions() 공개 정적인 메소드

XXX: This method is now deprecated. use findMatchedBuilds insteads.
사용 중단:
public static getInstalledPhpVersions ( )

getLookupPrefix() 공개 정적인 메소드

public static getLookupPrefix ( )

getPHPReleaseListPath() 공개 정적인 메소드

public static getPHPReleaseListPath ( )

getProxyConfig() 공개 정적인 메소드

public static getProxyConfig ( )

getRegistryDir() 공개 정적인 메소드

public static getRegistryDir ( )

getRoot() 공개 정적인 메소드

public static getRoot ( )

getTempFileDir() 공개 정적인 메소드

public static getTempFileDir ( )

getVariantsDir() 공개 정적인 메소드

Variants is private, so we use HOME path.
public static getVariantsDir ( )

getVersionBinPath() 공개 정적인 메소드

public static getVersionBinPath ( $buildName )

getVersionEtcPath() 공개 정적인 메소드

XXX: This method should be migrated to PhpBrew\Build class.
public static getVersionEtcPath ( string $buildName ) : string
$buildName string
리턴 string

getVersionInstallPrefix() 공개 정적인 메소드

public static getVersionInstallPrefix ( $version )

initDirectories() 공개 정적인 메소드

public static initDirectories ( $buildName = null )

putPathEnvFor() 공개 정적인 메소드

public static putPathEnvFor ( $buildName )

setPhpVersion() 공개 정적인 메소드

XXX: needs to be removed.
public static setPhpVersion ( $phpVersion )

setPhpbrewHome() 공개 정적인 메소드

public static setPhpbrewHome ( $home )

setPhpbrewRoot() 공개 정적인 메소드

public static setPhpbrewRoot ( $root )

useSystemPhpVersion() 공개 정적인 메소드

XXX: needs to be removed.
public static useSystemPhpVersion ( )

프로퍼티 상세

$currentPhpVersion 보호되어 있는 정적으로 프로퍼티

protected static $currentPhpVersion