_commentCB() protected method

Process a comment and return a replacement
protected _commentCB ( array $m ) : string
$m array regex matches
return string
Exemplo n.º 1
0
 protected function _commentCB($m)
 {
     if ($m[1][0] === '!') {
         return '/*' . $m[1] . '*/';
     }
     return parent::_commentCB($m);
 }