Support the ongoing development of Laravel.io →
posted 9 years ago
Architecture
Last updated 2 years ago.
0

You need to make $data public. then you can catch it like this code below,

$personal = $this->data;

or

$personal = $this->output();
Last updated 9 years ago.
0

I think it's cleaner if you make a getter and setter methods.

0

Of course, thanks for that. I created the get and set as you said and made the public property

0

Sign in to participate in this thread!

Eventy

Your banner here too?

ottz0 ottz0 Joined 15 Nov 2014

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.