return $this->data
['violations_count'
];
} public function getName(): string
{ return 'validator';
} protected function getCasters(): array
{ return parent::
getCasters() +
[ \Exception::
class => function D\Exception
$e, array
$a, Stub
$s) { foreach (["\0Exception\0previous", "\0Exception\0trace"
] as $k) { if (isset($a[$k])) { unset($a[$k]);
++
$s->cut;
} } return $a;
},
FormInterface::
class => fn (FormInterface
$f, array
$a) =>
[