1
0
Fork 0
mirror of https://github.com/archtechx/laravel-tips.git synced 2025-12-12 05:14:04 +00:00

2021-01 to 2022-01

This commit is contained in:
lukinovec 2022-01-07 18:37:55 +01:00
parent 54106ee7d8
commit f17995357c
14 changed files with 29 additions and 29 deletions

View file

@ -1,7 +1,7 @@
---
title: 'Compare models using is() instead of directly comparing attributes'
tweet_id: '1479467936700010504'
thread_slug: weekly-thread-2021-01
thread_slug: weekly-thread-2022-01
author_username: archtechx
images:
- 'https://pbs.twimg.com/media/FHJNmt3VEAIYtCy.jpg'
@ -10,4 +10,4 @@ slug: compare-models-using-is-instead-of-directly-comparing-attributes
---
🔥 Tip: Compare models using ->is() instead of doing direct attribute value comparisons
This is a simpler version of the tip below https://twitter.com/archtechx/status/1465334771349811219
This is a simpler version of the tip below https://twitter.com/archtechx/status/1465334771349811219