Свойство | Тип | Описание | |
---|---|---|---|
$cli | |||
$files |
Метод | Описание | |
---|---|---|
__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 | ||
Результат | void |
public createSudoersEntry ( ) : void | ||
Результат | void |
public hasInstalledPhp ( ) : boolean | ||
Результат | boolean |
public restartLinkedPhp ( ) : void | ||
Результат | void |
public restartService ( $services ) |