Adding Custom Rule to After Validation Hook in Custom Request Class

Posted 3 months ago by xtremer360

Can someone tell me how I can apply the CorrectCompetitorCount to an input array field?

public function withValidator($validator)
{
    $validator->after(function ($validator) {
        // return CorrectCompetitorCount();          
    });
}

Please sign in or create an account to participate in this conversation.