foreach($job->sub_jobs as $sub_job)
What i want is to do something like this
$companies = $job->sub_jobs->company;
Please sign in or create an account to participate in this conversation.
There's no shortage of content at Laracasts. In fact, you could watch nonstop
for days upon days, and still not see everything!