Bagisto Forum

    Bagisto

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups

    getAttribute Model in custom extensions

    Modules
    2
    2
    236
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • H
      hChamran last edited by

      Hi,
      I made an extension and need use from getAttribute laravel function model but this not work?!

      1 Reply Last reply Reply Quote 0
      • R
        rahul last edited by

        Hi @hChamran

        If you are implementing Accessors and Mutators then please go through with this link -

        https://bosnadev.com/2015/12/17/laravel-accessors-mutators/

        https://laravel.com/docs/5.7/eloquent-mutators

        If this is something else then you please explain more and attache your screenshot of code.

        Thanks

        1 Reply Last reply Reply Quote 0
        • First post
          Last post