Automattic\WooCommerce\Vendor\Pelago\Emogrifier\Utilities
ArrayIntersector::__construct
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() ArrayIntersector:: construct code WC 10.5.0
public function __construct(array $array)
{
$this->invertedArray = \array_flip($array);
}