add code on extending laravel validation class