AMP_Img_Sanitizer::adjust_and_replace_nodes_in_array_map PHP Метод

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

Now that all images have width and height attributes, make final tweaks and replace original image nodes
private adjust_and_replace_nodes_in_array_map ( array $node_lists )
$node_lists array Img DOM nodes (now with width and height attributes).
    private function adjust_and_replace_nodes_in_array_map($node_lists)
    {
        foreach ($node_lists as $node_list) {
            foreach ($node_list as $node) {
                $this->adjust_and_replace_node($node);
            }
        }
    }