mardi 7 avril 2020

Will variable name with underscore call function same name but camelCase automatically in laravel?

Can I call a function which have camelCase same name as a variable in laravel? For e.g. $email_referral_url and function name is getEmailReferralUrlAttribute() The function is defined into Entity.



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire