Bolt\Asset\Snippet\Queue::pregCallback PHP Method

pregCallback() private method

These will be put back after the replacements on the HTML are finished.
private pregCallback ( string $c ) : string
$c string
return 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;
    }