This repository has been archived on 2020-03-30. You can view files and clone it, but cannot push or open issues or pull requests.
|
--TEST--
|
|
Test Collection::init().
|
|
--FILE--
|
|
<?php
|
|
$array = ['a' => 'b'];
|
|
$collection = Collection::init($array);
|
|
$collection2 = Collection::init($collection);
|
|
if ($array != $collection2->toArray())
|
|
echo 'Collection::init() failed.', PHP_EOL;
|
|
?>
|
|
--EXPECT--
|