jeudi 7 décembre 2017

Laravel 5: Store artisan console table output in a variable

In Laravel 5 console commands, you can output a table like so:

$this->table($headers, $tableData);

This is described here: http://ift.tt/2j4EAW2

However this outputs it straight to the console.

How can I store it in a variable without sending the data to the console.



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire