cli/Valet/Caddy.php
/**
     * Remove the launch daemon.
     *
     * @return void
     */
Remove the launch daemon.
@return void
Remove the launch daemon . @return void
function uninstall()
    {
        $this->stop();
        if (is_file(VALET_HOME_PATH.'/Caddyfile'))
            unlink(VALET_HOME_PATH.'/Caddyfile');
        if(is_dir(VALET_HOME_PATH.'/Caddy'))
            exec('rm -rf ' . VALET_HOME_PATH.'/Caddy');
    }
function uninstall ( ) { $ this -> stop ( ) ; if ( is_file ( VALET_HOME_PATH . '/Caddyfile' ) ) unlink ( VALET_HOME_PATH . '/Caddyfile' ) ; if ( is_dir ( VALET_HOME_PATH . '/Caddy' ) ) exec ( 'rm -rf ' . VALET_HOME_PATH . '/Caddy' ) ; }
Remove the launch daemon.
Remove the launch daemon .
//        $this->files->unlink($this->daemonPath);