Problem
Where class accepts more than one parameter and that is not a lot manageable.
Initial purposed solution
Let's change that to a function that accepts only one parameter of where array and not even mixed.
Only array of specific type will be allowed. And, then where conditions could be chained to join the where conditions.
Urgency
Complete as fast as possible. Make sure that's more readable now.
Problem
Where class accepts more than one parameter and that is not a lot manageable.
Initial purposed solution
Let's change that to a function that accepts only one parameter of where array and not even mixed.
Only array of specific type will be allowed. And, then where conditions could be chained to join the where conditions.
Urgency
Complete as fast as possible. Make sure that's more readable now.