protected function processTags($comment)
    {
        $tags = preg_split('/^\s*@/m',$comment,-1,PREG_SPLIT_NO_EMPTY);
        foreach($tags as $tag){
            $segs   = preg_split('/\s+/',trim($tag),2);
            $tagName= $segs[0];
            $param  = isset($segs[1]) ? trim($segs[1]) : '';
            $this->tags[$tagName][] = $param;
        }
    }
protected function processTags($comment)
    {
        $tags = preg_split('/^\s*@/m',$comment,-1,PREG_SPLIT_NO_EMPTY);
        foreach($tags as $tag){
            $segs   = preg_split('/\s+/',trim($tag),2);
            $tagName= $segs[0];
            $param  = isset($segs[1]) ? trim($segs[1]) : '';
            $this->tags[$tagName][] = $param;
        }
    }
protected function processTags ( $ comment ) { $ tags = preg_split ( '/^\s*@/m' , $ comment , - 1 , PREG_SPLIT_NO_EMPTY ) ; foreach ( $ tags as $ tag ) { $ segs = preg_split ( '/\s+/' , trim ( $ tag ) , 2 ) ; $ tagName = $ segs [ 0 ] ; $ param = isset ( $ segs [ 1 ] ) ? trim ( $ segs [ 1 ] ) : '' ; $ this -> tags [ $ tagName ] [ ] = $ param ; } }
extracts tags array from docblock
@param string $comment docblock
@author Qiang Xue <qiang.xue@gmail.com>
extracts tags array from docblock