allow to use array syntax in string builder filter
This commit is contained in:
parent
8e0a7f178b
commit
0ab960ed0a
|
@ -34,7 +34,7 @@ class StringBuilder
|
|||
return $format;
|
||||
}
|
||||
|
||||
preg_match_all('/\{([a-zA-Z0-9\._]+)\}/i', $format, $matches, PREG_SET_ORDER);
|
||||
preg_match_all('/\{([a-zA-Z0-9\._\[\]]+)\}/i', $format, $matches, PREG_SET_ORDER);
|
||||
|
||||
foreach ($matches as $match) {
|
||||
$propertyValue = $this->propertyAccessor->getValue($object, $match[1]);
|
||||
|
|
Loading…
Reference in a new issue