Laravel this is not only a practical framework, it is also a programming style
How could I validate numbers between 1 to 1000 which they are power of 2?
public function rules() { return [ 'threshold' => 'required'|between:1,1000|power?? ]; }
Aucun commentaire:
Enregistrer un commentaire