Functions in models prefixed with "get" become Accessors - also known as fields/attributes on your model. in this case your accessor will be creating an attribute called full_name on your model, so retrieve their full name by using :
Of course... How did I miss that.
Sign in to participate in this thread!
We'd like to thank these amazing companies for supporting us
The Laravel portal for problem solving, knowledge sharing and community building.