Closed Kreyu closed 1 month ago
Currently, the formatter option supports two arguments:
formatter
data
Getting an instance of the column as second argument should be deprecated and moved to the third argument (via the reflection).
Second argument should receive row data instead:
// Deprecated 'formatter' => function (string $fullName, ColumnInterface $column) { // ... } // ok 'formatter' => function (string $fullName, User $user, ColumnInterface $column) { // ... }
Changed in 0.23, marked as "breaking change".
Currently, the
formatter
option supports two arguments:data
of the columnGetting an instance of the column as second argument should be deprecated and moved to the third argument (via the reflection).
Second argument should receive row data instead: