CacheableNavigation_Rebuild::queue
Create a {@link ChunkedCachableRefreshJob} for each "chunk" of N pages to refresh the caches of. Once run, $chunk is truncated and passed back its original reference.
Signature
public function queue(CacheableNavigationService
$service,
array
$chunk,
string
$stage,
number
$subsiteID )
Parameters
$service
— CacheableNavigationService
$chunk
— array$stage
— string$subsiteID
— object
Returns
- number
- $jobDescriptorID (Return value not used)