collector->collect() as $url ) { if ( ! $this->targets->isOwnUrl( $url ) ) { continue; } $this->queue->push( PurgeService::PRELOAD_URL, [ 'url' => $url ], PurgeService::PRIORITY_FULL_SWEEP ); if ( $this->mobile ) { $this->queue->push( PurgeService::PRELOAD_URL, [ 'url' => $url, 'mobile' => true, ], PurgeService::PRIORITY_FULL_SWEEP ); } } } }