<?php
use kim\present\utils\arrays\ArrayUtils;
$arrayUtils = ArrayUtils::from(["a", "b", "c", "d"]);
//General usage
$arrayUtils->flip();
// expected output: ["a" => 0, "b" => 1, "c" => 2, "d" => 3]
$arrayUtils->flip() : ArrayUtils;
$arrayUtils->flipAs() : array;
ArrayUtils::flipFrom(iterable $from) : ArrayUtils;
ArrayUtils::flipFromAs(iterable $from) : array;