public function __construct($config = [])
{
if (array_key_exists('defaultWorkflowId', $config)) {
if (is_string($config['defaultWorkflowId'])) {
$this->_defaultWorkflowId = $config['defaultWorkflowId'];
} else {
throw new InvalidConfigException("Invalid property Type : 'defaultWorkflowId' must be a string");
}
unset($config['defaultWorkflowId']);
}
parent::__construct($config);
}