function link($target, $link)
    {
        $this->files->ensureDirExists(
            $linkPath = $this->sitesPath(), user()
        );

        $this->config->prependPath($linkPath);

        $this->files->symlinkAsUser($target, $linkPath.'/'.$link);

        return $linkPath.'/'.$link;
    }
function link($target, $link)
    {
        $this->files->ensureDirExists(
            $linkPath = $this->sitesPath(), user()
        );

        $this->config->prependPath($linkPath);

        $this->files->symlinkAsUser($target, $linkPath.'/'.$link);

        return $linkPath.'/'.$link;
    }
function link ( $ target , $ link ) { $ this -> files -> ensureDirExists ( $ linkPath = $ 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.

@param  string  $target
@param  string  $link
@return string
Link the current working directory with the given name .