use the ValidatorsLoader Class to load validators

This commit is contained in:
alighorbani committed 2021-04-01 23:33:40 +04:30
1 parent bb47510faa
commit 845ced5d33
1 file changed
+3 -1
+3 -1
View File
@@ -2,7 +2,9 @@
namespace Hekmatinasser\Verta;
use Hekmatinasser\Verta\Verta;
use Illuminate\Support\ServiceProvider;
use Hekmatinasser\Verta\Validation\ValidatorLoader;
class VertaServiceProvider extends ServiceProvider
{
@@ -14,7 +16,7 @@ class VertaServiceProvider extends ServiceProvider
*/
public function boot()
{
$this->validator();
ValidatorLoader::loadValidators();
}
/**