cli/Valet/Site.php
/**
     * Link the current working directory with the given name.
     *
     * @param  string  $target
     * @param  string  $link
     * @return string
     */
Link the current working directory with the given name.
Link the current working directory with the given name .
function link($target, $link)
    {
        $this->files->ensureDirExists(
            $linkPath = realpath($this->sitesPath()), user()
        );
        $this->config->prependPath($linkPath);
        $this->files->symlinkAsUser($target, $linkPath.'\\'.$link);
        return $linkPath.'/'.$link;
    }
function link ( $ target , $ link ) { $ this -> files -> ensureDirExists ( $ linkPath = realpath ( $ this -> sitesPath ( ) ) , user ( ) ) ; $ this -> config -> prependPath ( $ linkPath ) ; $ this -> files -> symlinkAsUser ( $ target , $ linkPath . '\\' . $ link ) ; return $ linkPath . '/' . $ link ; }
Link the current working directory with the given name.
Link the current working directory with the given name .