original_string: public function appendStylesheet($href, $media = null, array $attributes = [], $priority = false)
      {
          static $counter = 0;
          
          $attributes['rel'] = 'stylesheet';
          $attributes['href'] = $href;
          //$attributes['type'] = 'text/css';
          $media && $attributes['media'] = $media;
          $this->links[$priority == 'high' ? $counter + 1000 : $counter] = Html::buildHtmlElement('link', $attributes);
          $counter++;
          return $this;
      }
code: public function appendStylesheet($href, $media = null, array $attributes = [], $priority = false)
      {
          static $counter = 0;
          
          $attributes['rel'] = 'stylesheet';
          $attributes['href'] = $href;
          //$attributes['type'] = 'text/css';
          $media && $attributes['media'] = $media;
          $this->links[$priority == 'high' ? $counter + 1000 : $counter] = Html::buildHtmlElement('link', $attributes);
          $counter++;
          return $this;
      }
code_tokens: public function appendStylesheet ( $ href , $ media = null , array $ attributes = [ ] , $ priority = false ) { static $ counter = 0 ; $ attributes [ 'rel' ] = 'stylesheet' ; $ attributes [ 'href' ] = $ href ; //$attributes['type'] = 'text/css'; $ media && $ attributes [ 'media' ] = $ media ; $ this -> links [ $ priority == 'high' ? $ counter + 1000 : $ counter ] = Html :: buildHtmlElement ( 'link' , $ attributes ) ; $ counter ++ ; return $ this ; }
docstring: Link to a CSS stylesheet
  @param string $href
  @param string $media
  @param array $attributes
  @return \Osf\View\Helper\HeadLink
docstring_tokens: Link to a CSS stylesheet