cli/Valet/DnsMasq.php
/**
     * Install and configure DnsMasq.
     *
     * @return void
     */
Install and configure DnsMasq.
@return void
Install and configure DnsMasq . @return void
function install($domain = 'dev')
    {
        $this->brew->ensureInstalled('dnsmasq');
        $this->createCustomConfigFile($domain);
        $this->createDomainResolver($domain);
        $this->brew->restartService('dnsmasq');
    }
function install ( $ domain = 'dev' ) { $ this -> brew -> ensureInstalled ( 'dnsmasq' ) ; $ this -> createCustomConfigFile ( $ domain ) ; $ this -> createDomainResolver ( $ domain ) ; $ this -> brew -> restartService ( 'dnsmasq' ) ; }
Install and configure DnsMasq.
Install and configure DnsMasq .
// For DnsMasq, we create our own custom configuration file which will be imported // in the main DnsMasq file. This allows Valet to make changes to our own files // without needing to modify the "primary" DnsMasq configuration files again.