for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Collections\Immutable;
use Collections\ConstMapInterface;
use Collections\Iterator\MapIterator;
use Collections\Traits\ImmMapLikeTrait;
class ImmMap implements ConstMapInterface
{
use ImmMapLikeTrait;
public function __construct($array = null)
$this->init($array);
}
/**
* Gets the collection's iterator
* @return MapIterator
*/
public function getIterator()
return new MapIterator($this->container);