original_string: public static function anchor(string $title, string $url = '', array $attributes = null) : string
      {
          // Add link
          if ($url !== '') $attributes['href'] = $url;
          return '<a'.Html::attributes($attributes).'>'.$title.'</a>';
      }
code: public static function anchor(string $title, string $url = '', array $attributes = null) : string
      {
          // Add link
          if ($url !== '') $attributes['href'] = $url;
          return '<a'.Html::attributes($attributes).'>'.$title.'</a>';
      }
code_tokens: public static function anchor ( string $ title , string $ url = '' , array $ attributes = null ) : string { // Add link if ( $ url !== '' ) $ attributes [ 'href' ] = $ url ; return '<a' . Html :: attributes ( $ attributes ) . '>' . $ title . '</a>' ; }
docstring: Create HTML link anchor.
  
  echo Html::anchor('About', 'http://sitename.com/about');
  
  @param string $title Anchor title
  @param string $url   Anchor url
  @param array  $attributes Anchor attributes
  @return string
docstring_tokens: Create HTML link anchor .