Bolt\Asset\Snippet\Queue::pregCallback PHP Метод

pregCallback() приватный Метод

These will be put back after the replacements on the HTML are finished.
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;
    }