| 1 | <?php |
||
| 7 | class DynamicFieldsRegistry |
||
| 8 | { |
||
| 9 | private $dynamicFields = []; |
||
| 10 | |||
| 11 | 3 | public function add($name, callable $fn) |
|
| 18 | |||
| 19 | 3 | public function set($name, callable $fn) |
|
| 23 | |||
| 24 | 3 | public function has($name) |
|
| 28 | |||
| 29 | 3 | public function get($name, RowInterface $row) |
|
| 33 | |||
| 34 | 2 | public function getAll(RowInterface $row) |
|
| 42 | } |
||
| 43 |