Open faiyaz032 opened 4 years ago
I want to pass a function like function($from (1), $to(5)){ and it returns me random numbers with 1 to 5.. like 1,2 ,4,3,5 }
I think numberBetween() is what you're looking for. See: https://github.com/fzaninotto/Faker#fakerproviderbase
numberBetween()