src/bbn/parsers/doc.php
private function tag_get_default(string $text){
    if (
      ($this->mode === 'js') ||
      ($this->mode === 'vue')
    ){
      preg_match('/(?:\[)(.+)(?:\])/', $text, $def, PREG_OFFSET_CAPTURE);
    }
    return $def;
  }
private function tag_get_default(string $text){
    if (
      ($this->mode === 'js') ||
      ($this->mode === 'vue')
    ){
      preg_match('/(?:\[)(.+)(?:\])/', $text, $def, PREG_OFFSET_CAPTURE);
    }
    return $def;
  }
private function tag_get_default ( string $ text ) { if ( ( $ this -> mode === 'js' ) || ( $ this -> mode === 'vue' ) ) { preg_match ( '/(?:\[)(.+)(?:\])/' , $ text , $ def , PREG_OFFSET_CAPTURE ) ; } return $ def ; }
Gets tag 'default'

@param string $text The tag text
@return array
Gets tag default