Move this to the factory. The constructor should accept already valid config. Consider using [`Zend\Stdlib\AbstractOptions`](https://github.com/zendframework/zf2/blob/master/library/Zend/Stdlib/AbstractOptions.php) to have validated config keys