WordPress at a glance
function is not described

Pelago\Emogrifier\Utilities

ArrayIntersector::__construct() public WC 1.0

Constructs the object with the array that will be reused for many intersection computations.

{} It's a method of the class: ArrayIntersector{}

No Hooks.

Return

null. Nothing.

Usage

$ArrayIntersector = new ArrayIntersector();
$ArrayIntersector->__construct( $array );
$array(array) (required)
-

Code of ArrayIntersector::__construct() WC 5.4.1

<?php
public function __construct(array $array)
{
    $this->invertedArray = \array_flip($array);
}