Pink-Crab / Perique-Framework

The Perqiue Plugin Framework for WordPress
5 stars 0 forks source link

[V2] Add getRule() and getRules() to PinkCrab_Dice #140

Closed gin0115 closed 1 year ago

gin0115 commented 1 year ago

It should be possible to get a rule from the PinkCrab_Dice wrapper.

This would not only reduce the need for reflection in tests but also make replacing rules much easier, where you have access to the initial params used