mirror of
https://github.com/flarum/framework.git
synced 2024-11-25 17:57:04 +08:00
e7aed89e8f
It can be very annoying if we want to use something like boolval, but have to define an entire anonymous function to pass it in. This PR adds support for tpassing it in directly as a string, like is posible with User::registerPreference. |
||
---|---|---|
.. | ||
Foundation | ||
Http | ||
Install | ||
Settings | ||
User | ||
TestCase.php |