_commentCB() 보호된 메소드

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