How to prevent Eloquent Model to be updated – Prevent updating Eloquent Model

wanted To prevent updating the eloquent model ? Below snippet will prevent updating eloquent model.

This code will prevent updating user.

About the author

Yunus Shaikh

Yunus is Laravel / Angular developer. Specialized in Building REST APIs . Yunus care deeply about delivering Quality work. He also Have hands on Experience on WordPress, HTML, CSS, JavaScript technologies. Yunus love to explore emerging tech stuffs.

View all posts

Leave a Reply

Your email address will not be published.