PHP 클래스 PhpBrew\Utils

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

공개 메소드들

메소드 설명
canonicalizeBuildName ( $version )
detectArch ( $prefix )
editor ( $file )
endsWith ( $haystack, $needle )
findBin ( string $bin ) : string Find executable binary by PATH environment.
findBinByPrefix ( string $bin ) : string | null Find bin from prefix list.
findIncludePath ( ) : string Return the actual header file path from the lookup prefixes.
findIncludePrefix ( )
findLatestPhpVersion ( $version = null )
findLibDir ( )
findLibPrefix ( )
getLookupPrefixes ( )
getPkgConfigPrefix ( string $package )
pipeExecute ( $command )
readTimeZone ( )
recursive_unlink ( $path, CLIFramework\Logger $logger )
startsWith ( $haystack, $needle )
support64bit ( )
system ( $command, $logger = null, $build = null )

메소드 상세

canonicalizeBuildName() 공개 정적인 메소드

public static canonicalizeBuildName ( $version )

detectArch() 공개 정적인 메소드

public static detectArch ( $prefix )

editor() 공개 정적인 메소드

public static editor ( $file )

endsWith() 공개 정적인 메소드

public static endsWith ( $haystack, $needle )

findBin() 공개 정적인 메소드

Find executable binary by PATH environment.
public static findBin ( string $bin ) : string
$bin string binary name
리턴 string the path

findBinByPrefix() 공개 정적인 메소드

Find bin from prefix list.
public static findBinByPrefix ( string $bin ) : string | null
$bin string
리턴 string | null

findIncludePath() 공개 정적인 메소드

Return the actual header file path from the lookup prefixes.
public static findIncludePath ( ) : string
리턴 string full qualified header file path

findIncludePrefix() 공개 정적인 메소드

public static findIncludePrefix ( )

findLatestPhpVersion() 공개 정적인 메소드

public static findLatestPhpVersion ( $version = null )

findLibDir() 공개 정적인 메소드

public static findLibDir ( )

findLibPrefix() 공개 정적인 메소드

public static findLibPrefix ( )

getLookupPrefixes() 공개 정적인 메소드

public static getLookupPrefixes ( )

getPkgConfigPrefix() 공개 정적인 메소드

public static getPkgConfigPrefix ( string $package )
$package string

pipeExecute() 공개 정적인 메소드

public static pipeExecute ( $command )

readTimeZone() 공개 정적인 메소드

public static readTimeZone ( )

startsWith() 공개 정적인 메소드

public static startsWith ( $haystack, $needle )

support64bit() 공개 정적인 메소드

public static support64bit ( )

system() 공개 정적인 메소드

public static system ( $command, $logger = null, $build = null )