eee
This commit is contained in:
@@ -38,7 +38,7 @@ class BindForm implements InjectParameterInterface
|
|||||||
if (!class_exists($attribute->getName())) {
|
if (!class_exists($attribute->getName())) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
$rule = $attribute->newInstance();
|
$rule = inject($attribute->newInstance());
|
||||||
if ($rule instanceof ValidatorInterface) {
|
if ($rule instanceof ValidatorInterface) {
|
||||||
$validator->addRule($property->getName(), $rule);
|
$validator->addRule($property->getName(), $rule);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user