darkain / pudl

PHP Universal Database Library - connects to and generates queries for SQL Servers
BSD 2-Clause "Simplified" License
28 stars 5 forks source link

Callable for $value parameters #15

Closed darkain closed 3 years ago

darkain commented 4 years ago

If a Callable is passed into a method that takes a $value parameter, the Callable can be called with the return value used.

Documented here that Callable is not permissible, but it could be! https://pudl.dev/parameters/value

darkain commented 3 years ago

Added in: https://github.com/darkain/pudl/commit/466390cb0c46535ef7b4a51c3f198d5a35837cee

darkain commented 3 years ago

Documentation updated: https://github.com/darkain/pudl-docs/commit/1bd00c95a302168599390c42f398581f3bfaf832