for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types=1);
namespace FriendsOfBehat\SymfonyExtension\Mink;
/** @final */
class MinkParameters implements \Countable, \IteratorAggregate, \ArrayAccess
{
/** @var array */
private $minkParameters;
public function __construct(array $minkParameters)
$this->minkParameters = $minkParameters;
}
public function getIterator(): \Traversable
return new \ArrayIterator($this->minkParameters);
public function offsetExists($offset): bool
return array_key_exists($offset, $this->minkParameters);
public function offsetGet($offset)
return $this->minkParameters[$offset] ?? null;
public function offsetSet($offset, $value): void
throw new \BadMethodCallException(sprintf('"%s" is immutable.', self::class));
public function offsetUnset($offset): void
public function count(): int
return count($this->minkParameters);