Class Members With Rules


(Jhjm32087) #1

Hello,

Anyone know if rules() allows private class members? Or do they need to be public or protected of the class? Or is there some type of name scheme that needs to be followed?


(Alirz23) #2

since you can’t access private methods/members from outside your class you dont need validation rule for your private methods/members