-
Notifications
You must be signed in to change notification settings - Fork 0
/
Iteration.php
executable file
·46 lines (42 loc) · 1.34 KB
/
Iteration.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
<?php declare(strict_types = 1);
/*
* This file is part of the Vairogs package.
*
* (c) Dāvis Zālītis (k0d3r1s) <[email protected]>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Vairogs\Component\Functions;
final class Iteration
{
use Iteration\_AddElementIfNotExists;
use Iteration\_ArrayFlipRecursive;
use Iteration\_ArrayIntersectKeyRecursive;
use Iteration\_ArrayToString;
use Iteration\_ArrayValuesFiltered;
use Iteration\_FilterKeyEndsWith;
use Iteration\_FilterKeyStartsWith;
use Iteration\_FirstMatchAsString;
use Iteration\_HaveCommonElements;
use Iteration\_IsAssociative;
use Iteration\_IsEmpty;
use Iteration\_IsMultiDimentional;
use Iteration\_IsSortable;
use Iteration\_IsSortedAscendingInts;
use Iteration\_JsonDecode;
use Iteration\_JsonEncode;
use Iteration\_MakeMultiDimensional;
use Iteration\_MakeOneDimension;
use Iteration\_Pick;
use Iteration\_RecursiveKSort;
use Iteration\_RemoveFromArray;
use Iteration\_SwapArray;
use Iteration\_Unique;
use Iteration\_UniqueMap;
use Iteration\_Unpack;
public const int FORCE_ARRAY = 0b0001;
public const int PRETTY = 0b0010;
public const int ASSOCIATIVE = 1;
public const int OBJECT = 0;
}