Свойство | Тип | Описание | |
---|---|---|---|
$brew | |||
$cli | |||
$configPath | |||
$exampleConfigPath | |||
$files | |||
$resolverPath |
Метод | Описание | |
---|---|---|
__construct ( |
Create a new DnsMasq instance. | |
appendCustomConfigImport ( string $customConfigPath ) : void | Append import command for our custom configuration to DnsMasq file. | |
copyExampleConfig ( ) : void | Copy the Homebrew installed example DnsMasq configuration file. | |
createCustomConfigFile ( string $domain ) : void | Append the custom DnsMasq configuration file to the main configuration file. | |
createDomainResolver ( string $domain ) : void | Create the resolver file to point the "dev" domain to 127.0.0.1. | |
customConfigIsBeingImported ( string $customConfigPath ) : boolean | Determine if Valet's custom DnsMasq configuration is being imported. | |
customConfigPath ( ) : string | Get the custom configuration path. | |
install ( $domain = 'dev' ) : void | Install and configure DnsMasq. | |
updateDomain ( string $oldDomain, string $newDomain ) : void | Update the domain used by DnsMasq. |
public __construct ( |
||
$brew | ||
$cli | ||
$files | ||
Результат | void |
public appendCustomConfigImport ( string $customConfigPath ) : void | ||
$customConfigPath | string | |
Результат | void |
public copyExampleConfig ( ) : void | ||
Результат | void |
public createCustomConfigFile ( string $domain ) : void | ||
$domain | string | |
Результат | void |
public createDomainResolver ( string $domain ) : void | ||
$domain | string | |
Результат | void |
public customConfigIsBeingImported ( string $customConfigPath ) : boolean | ||
$customConfigPath | string | |
Результат | boolean |
public customConfigPath ( ) : string | ||
Результат | string |