cli/Valet/Host.php
/**
     * Append the custom DnsMasq configuration file to the main configuration file.
     *
     * @param  string  $domain
     * @return void
     */
Append the custom DnsMasq configuration file to the main configuration file.
@param  string  $domain
@return void
Append the custom DnsMasq configuration file to the main configuration file . @param string $domain @return void
function createCustomConfigFile($domain)
    {
        $customConfigPath = $this->customConfigPath();
        $this->copyExampleConfig();
        $this->appendCustomConfigImport($customConfigPath);
        $this->files->putAsUser($customConfigPath, 'address=/.'.$domain.'/127.0.0.1'.PHP_EOL);
    }
function createCustomConfigFile ( $ domain ) { $ customConfigPath = $ this -> customConfigPath ( ) ; $ this -> copyExampleConfig ( ) ; $ this -> appendCustomConfigImport ( $ customConfigPath ) ; $ this -> files -> putAsUser ( $ customConfigPath , 'address=/.' . $ domain . '/127.0.0.1' . PHP_EOL ) ; }
Append the custom DnsMasq configuration file to the main configuration file.
Append the custom DnsMasq configuration file to the main configuration file .