Skip to content

Commit 4c2b3d0

Browse files
James Smithbarryvdh
authored andcommitted
Reinstate symfony constraint validation (#15)
1 parent 8165ecd commit 4c2b3d0

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/ServiceProvider.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
use Symfony\Bridge\Twig\Form\TwigRenderer;
1515
use Barryvdh\Form\Extension\EloquentExtension;
1616
use Symfony\Bridge\Twig\Form\TwigRendererEngine;
17+
use Barryvdh\Form\Extension\FormValidatorExtension;
1718
use Symfony\Component\Form\ResolvedFormTypeFactory;
1819
use Illuminate\Support\ServiceProvider as BaseServiceProvider;
1920
use Symfony\Component\Form\Extension\HttpFoundation\HttpFoundationExtension;
@@ -111,6 +112,7 @@ public function register()
111112
$app->make(SessionExtension::class),
112113
new HttpFoundationExtension(),
113114
new EloquentExtension(),
115+
new FormValidatorExtension(),
114116
);
115117
});
116118

0 commit comments

Comments
 (0)