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