Support the ongoing development of Laravel.io →
Views Forms Installation
Last updated 2 years ago.
0

Something looks fishy, like a Controller for table column names, but try this:

return view('table.column.mask', compact('column','table_name')); // PHP compact

OR

return view('table.column.mask')->with(['column'=>$column, 'table_name'=>$table_name]); // with array of vars

This is likely what you need. As far as I can tell, there's no chaining ->with()

More at Laravel Docs

0

You should be able to chain that call as with returns the view object you are calling with on.

with has return $this; as the return.

0

Sign in to participate in this thread!

Eventy

Your banner here too?

TomtheTank tomthetank Joined 21 May 2016

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.