@@ -9,15 +9,15 @@ |
||
9 | 9 | class Compact extends \ArrayIterator implements \JsonSerializable |
10 | 10 | { |
11 | 11 | // private static $value; |
12 | - // public function __construct($argument) |
|
13 | - // { |
|
14 | - // self::$value = $argument; |
|
15 | - // // if ($argument instanceof \Countable && count($argument) > 0) { |
|
16 | - // // # it's an array-like |
|
17 | - // // } else { |
|
18 | - // // //it's an object-like |
|
19 | - // // } |
|
20 | - // } |
|
12 | + // public function __construct($argument) |
|
13 | + // { |
|
14 | + // self::$value = $argument; |
|
15 | + // // if ($argument instanceof \Countable && count($argument) > 0) { |
|
16 | + // // # it's an array-like |
|
17 | + // // } else { |
|
18 | + // // //it's an object-like |
|
19 | + // // } |
|
20 | + // } |
|
21 | 21 | // |
22 | 22 | public function __construct() |
23 | 23 | { |