30        if (!isset($attr[
'href'])) {
 
   35        $url = $this->parser->parse($attr[
'href']);
 
   38        if ($scheme->browsable && !
$url->isBenign(
$config, $context)) {
 
   39            $attr[
'target'] = 
'_blank';
 
An exception for terminatinating execution or to throw for unit testing.
Parses a URI into the components and fragment identifier as specified by RFC 3986.