/**
* {@inheritdoc}
*
* @param null|array $options
* @throws \Phalcon\Mvc\Model\Exception
*/
public function __construct($options = null)
{
if (!is_array($options)) {
throw new Exception('No configuration given');
}
if (!isset($options['redis'])) {
throw new Exception('Parameter "redis" is required');
}
parent::__construct($options);
}