/**
  * Constructor
  */
 public function __construct()
 {
     parent::__construct();
     // remove unsupported link attributes
     foreach (['target', 'rel'] as $attribute) {
         $position = array_search($attribute, $this->linkAttributes, true);
         if ($position !== false) {
             unset($this->linkAttributes[$position]);
         }
     }
 }
 /**
  * Constructor
  */
 public function __construct()
 {
     parent::__construct();
     // remove unsupported link attribute
     unset($this->linkAttributes[array_search('params', $this->linkAttributes, true)]);
 }