QueueProcessor
class QueueProcessor (View source)
Properties
protected HtmlInjector | $injector |
Methods
Response
guardResponse(Response $response, callable $process)
No description
void
process(Response $response, Request $request, Collection $queue, CacheInterface $cache, string $zone)
No description
string
pregCallback(array $c)
Callback method to identify comments and store them in the matchedComments array.
Details
__construct(HtmlInjector $injector)
Response
guardResponse(Response $response, callable $process)
void
process(Response $response, Request $request, Collection $queue, CacheInterface $cache, string $zone)
string
pregCallback(array $c)
Callback method to identify comments and store them in the matchedComments array.
These will be put back after the replacements on the HTML are finished.