private function setUrlWithReflection(Router $router, Mapping $mapping, ReflectionClass $mappingClass, $property, $baseUrl)
{
$mappingProperty = $mappingClass->getProperty($property);
$mappingProperty->setAccessible(true);
$value = $mappingProperty->getValue($mapping);
$value = $this->getUrlPattern($router, $value, $baseUrl);
$mappingProperty->setValue($mapping, $value);
}