src/bbn/parsers/doc.php
private function set_tags(){
    if ( $this->mode ){
      if ( $this->mode === 'vue' ){
        $tags = \bbn\x::merge_arrays($this->all_tags['js'], $this->all_tags['vue']);
      }
      else {
        $tags = $this->all_tags[$this->mode];
      }
      $this->tags = \bbn\x::merge_arrays($this->all_tags['common'], $tags);
      return $this->tags;
    }
  }
private function set_tags(){
    if ( $this->mode ){
      if ( $this->mode === 'vue' ){
        $tags = \bbn\x::merge_arrays($this->all_tags['js'], $this->all_tags['vue']);
      }
      else {
        $tags = $this->all_tags[$this->mode];
      }
      $this->tags = \bbn\x::merge_arrays($this->all_tags['common'], $tags);
      return $this->tags;
    }
  }
private function set_tags ( ) { if ( $ this -> mode ) { if ( $ this -> mode === 'vue' ) { $ tags = \ bbn \ x :: merge_arrays ( $ this -> all_tags [ 'js' ] , $ this -> all_tags [ 'vue' ] ) ; } else { $ tags = $ this -> all_tags [ $ this -> mode ] ; } $ this -> tags = \ bbn \ x :: merge_arrays ( $ this -> all_tags [ 'common' ] , $ tags ) ; return $ this -> tags ; } }
Sets the tags list relative to the selected mode

@return array
Sets the tags list relative to the selected mode