private pregCallback ( string $c ) : string | ||
$c | string | |
Результат | string | The key under which the comment is stored |
private function pregCallback($c)
{
$key = '###bolt-comment-' . count($this->matchedComments) . '###';
// Add it to the array of matched comments.
$this->matchedComments['/' . $key . '/'] = $c[0];
return $key;
}