Property | Type | Description | |
---|---|---|---|
$brew | |||
$cli | |||
$configPath | |||
$exampleConfigPath | |||
$files | |||
$resolverPath |
Method | Description | |
---|---|---|
__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 | ||
return | void |
public appendCustomConfigImport ( string $customConfigPath ) : void | ||
$customConfigPath | string | |
return | void |
public copyExampleConfig ( ) : void | ||
return | void |
public createCustomConfigFile ( string $domain ) : void | ||
$domain | string | |
return | void |
public createDomainResolver ( string $domain ) : void | ||
$domain | string | |
return | void |
public customConfigIsBeingImported ( string $customConfigPath ) : boolean | ||
$customConfigPath | string | |
return | boolean |
public customConfigPath ( ) : string | ||
return | string |