protected function parseTag($line)
    {
        $tagAndValue = preg_split('/\\s/', $line, 2);
        $tag = substr($tagAndValue[0], 1);
        if (count($tagAndValue) > 1) {
            $this->tags[$tag][] = trim($tagAndValue[1]);
        } else {
            $this->tags[$tag] = [];
        }
    }
protected function parseTag($line)
    {
        $tagAndValue = preg_split('/\\s/', $line, 2);
        $tag = substr($tagAndValue[0], 1);
        if (count($tagAndValue) > 1) {
            $this->tags[$tag][] = trim($tagAndValue[1]);
        } else {
            $this->tags[$tag] = [];
        }
    }
protected function parseTag ( $ line ) { $ tagAndValue = preg_split ( '/\\s/' , $ line , 2 ) ; $ tag = substr ( $ tagAndValue [ 0 ] , 1 ) ; if ( count ( $ tagAndValue ) > 1 ) { $ this -> tags [ $ tag ] [ ] = trim ( $ tagAndValue [ 1 ] ) ; } else { $ this -> tags [ $ tag ] = [ ] ; } }
Parses a line of a doc comment for a tag and its value.
The result is stored in the interal tags array.

@param string $line A line of a doc comment which starts with an @-sign
Parses a line of a doc comment for a tag and its value . The result is stored in the interal tags array .