Automattic\WooCommerce\Vendor\Pelago\Emogrifier\Utilities

ArrayIntersector::__constructpublicWC 1.0

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

Method of the class: ArrayIntersector{}

No Hooks.

Returns

null. Nothing (null).

Usage

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

ArrayIntersector::__construct() code WC 10.5.0

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