Свойство | Type | Description | |
---|---|---|---|
$cli | |||
$files |
Méthode | Description | |
---|---|---|
__construct ( |
Create a new Brew instance. | |
createSudoersEntry ( ) : void | Create the "sudoers.d" entry for running Brew. | |
ensureInstalled ( string $formula, array $taps = [] ) : void | Ensure that the given formula is installed. | |
hasInstalledPhp ( ) : boolean | Determine if a compatible PHP version is Homebrewed. | |
installOrFail ( string $formula, array $taps = [] ) : void | Install the given formula and throw an exception on failure. | |
installed ( string $formula ) : boolean | Determine if the given formula is installed. | |
linkedPhp ( ) : string | Determine which version of PHP is linked in Homebrew. | |
restartLinkedPhp ( ) : void | Restart the linked PHP-FPM Homebrew service. | |
restartService ( $services ) | Restart the given Homebrew services. | |
stopService ( $services ) | Stop the given Homebrew services. | |
tap ( $formulas ) : void | Tag the given formulas. |
public __construct ( |
||
$cli | ||
$files | ||
Résultat | void |
public createSudoersEntry ( ) : void | ||
Résultat | void |
public hasInstalledPhp ( ) : boolean | ||
Résultat | boolean |
public restartLinkedPhp ( ) : void | ||
Résultat | void |
public restartService ( $services ) |