private function valueMatchPattern($value, $pattern)
{
$match = $this->propertyMatcher->canMatch($pattern) && true === $this->propertyMatcher->match($value, $pattern);
if (!$match) {
$this->error = $this->propertyMatcher->getError();
}
return $match;
}