for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Wandu\Migrator;
class Configuration
{
/** @var array */
protected $config;
/**
* @param array $config
*/
public function __construct(array $config = [])
$this->config = $config;
}
* @return string
public function getPath()
return isset($this->config['path']) ? $this->config['path'] : null;
public function getTable()
return isset($this->config['table']) ? $this->config['table'] : null;
public function getConnection()
return isset($this->config['connection']) ? $this->config['connection'] : null;