public function parse(array $data, ParsingDispatcher $parsingDispatcher)
{
if (!array_key_exists('sourceUrl', $data)) {
throw new Exceptions\Parser("Missing 'sourceUrl' value for URLWildcardCreate.");
}
if (!array_key_exists('destinationUrl', $data)) {
throw new Exceptions\Parser("Missing 'destinationUrl' value for URLWildcardCreate.");
}
if (!array_key_exists('forward', $data)) {
throw new Exceptions\Parser("Missing 'forward' value for URLWildcardCreate.");
}
$data['forward'] = $this->parserTools->parseBooleanValue($data['forward']);
return $data;
}