PHP Class PhpBrew\Utils

Afficher le fichier Open project: phpbrew/phpbrew Class Usage Examples

Méthodes publiques

Méthode Description
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 )

Method Details

canonicalizeBuildName() public static méthode

public static canonicalizeBuildName ( $version )

detectArch() public static méthode

public static detectArch ( $prefix )

editor() public static méthode

public static editor ( $file )

endsWith() public static méthode

public static endsWith ( $haystack, $needle )

findBin() public static méthode

Find executable binary by PATH environment.
public static findBin ( string $bin ) : string
$bin string binary name
Résultat string the path

findBinByPrefix() public static méthode

Find bin from prefix list.
public static findBinByPrefix ( string $bin ) : string | null
$bin string
Résultat string | null

findIncludePath() public static méthode

Return the actual header file path from the lookup prefixes.
public static findIncludePath ( ) : string
Résultat string full qualified header file path

findIncludePrefix() public static méthode

public static findIncludePrefix ( )

findLatestPhpVersion() public static méthode

public static findLatestPhpVersion ( $version = null )

findLibDir() public static méthode

public static findLibDir ( )

findLibPrefix() public static méthode

public static findLibPrefix ( )

getLookupPrefixes() public static méthode

public static getLookupPrefixes ( )

getPkgConfigPrefix() public static méthode

public static getPkgConfigPrefix ( string $package )
$package string

pipeExecute() public static méthode

public static pipeExecute ( $command )

readTimeZone() public static méthode

public static readTimeZone ( )

startsWith() public static méthode

public static startsWith ( $haystack, $needle )

support64bit() public static méthode

public static support64bit ( )

system() public static méthode

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