for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Maketok\DataMigration\Action;
class ArrayConfig implements ConfigInterface
{
/**
* @var array
*/
protected $config;
* {@inheritdoc}
public function assign(array $config)
$this->config = $config;
}
public function dump()
return $this->config;
public function offsetExists($offset)
return array_key_exists($offset, $this->config);
public function offsetGet($offset)
if ($this->offsetExists($offset)) {
return $this->config[$offset];
return null;
public function offsetSet($offset, $value)
$this->config[$offset] = $value;
public function offsetUnset($offset)
unset($this->config[$offset]);