protected setValidationFailedFlashes ( Silex\Application $app, boolean $optimisticLocking, string $mode ) | ||
$app | Silex\Application | the current application |
$optimisticLocking | boolean | whether the optimistic locking failed |
$mode | string | the modification mode, either 'create' or 'edit' |