for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Oqq\Minc\Common\Collection;
/**
* @author Eric Braun <[email protected]>
*/
class Set extends AbstractCollection
{
* @param array $values
public function __construct($values)
parent::__construct(array_fill_keys($values, true));
}
* @inheritdoc
public function contains($value)
return $this->containsKey($value);
public function get($key)
$this->assertContainsKey($key);
return $key;