Automattic\WooCommerce\EmailEditorVendor\Pelago\Emogrifier\Utilities

ArrayIntersector::__construct │ public │ WC 1.0

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

Метод класса: ArrayIntersector{}

Хуков нет.

Возвращает

null. Ничего (null).

Использование

$ArrayIntersector = new ArrayIntersector();
$ArrayIntersector->__construct( $array );
$array(array<array-key, array-key>) (обязательный)
.

Код ArrayIntersector::__construct() WC 11.3.0

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