batch() публичный Метод

Get the size of each of the urls in a list
public batch ( array $urls ) : array
$urls array
Результат array
 /**
  * Fetch images via FasterImage library
  *
  * @param array $urls_to_fetch Image src urls to fetch.
  * @param array $images Array to populate with results of image/dimension inspection.
  */
 private static function fetch_images_via_faster_image($urls_to_fetch, &$images)
 {
     if (!class_exists('Faster_Image_B52f1a8_Faster_Image')) {
         require_once AMP__DIR__ . '/includes/lib/class-faster-image-b52f1a8-faster-image.php';
     }
     $user_agent = apply_filters('amp_extract_image_dimensions_get_user_agent', self::get_default_user_agent());
     $client = new Faster_Image_B52f1a8_Faster_Image($user_agent);
     $images = $client->batch(array_column($urls_to_fetch, 'url'));
 }