public function link($href = '', $target = '_blank')
    {
        return $this->unescape()->as(function ($link) use ($href, $target) {
            $href = $href ?: $link;

            return "<a href='$href' target='{$target}'>{$link}</a>";
        });
    }
public function link($href = '', $target = '_blank')
    {
        return $this->unescape()->as(function ($link) use ($href, $target) {
            $href = $href ?: $link;

            return "<a href='$href' target='{$target}'>{$link}</a>";
        });
    }
public function link ( $ href = '' , $ target = '_blank' ) { return $ this -> unescape ( ) -> as ( function ( $ link ) use ( $ href , $ target ) { $ href = $ href ? : $ link ; return "<a href='$href' target='{$target}'>{$link}</a>" ; } ) ; }
Show field as a link.

@param string $href
@param string $target

@return Field
Show field as a link .