Closed manseuk closed 4 years ago
Just discovered the 2nd and 3rd Parameters of createDataTableFromType
- is this the correct way to pass in variables ?
It's one of the ways to do it, without having more information it's hard to say if this is THE correct way.
Basically the same rules apply as te form component in Symfony.
I have the following controller function
And then i have class
ItemSummaryTable
like thisHow can i pass the
$invoice
from the controller to myItemSumaryTable
class ?