mirror of
https://github.com/archtechx/laravel-tips.git
synced 2025-12-12 13:24:03 +00:00
12 lines
No EOL
472 B
Markdown
12 lines
No EOL
472 B
Markdown
---
|
|
title: 'Closure validation rules are 🔥. They''re often better than creating a class just for a single use'
|
|
tweet_id: '1308085658095886336'
|
|
thread_slug: 1-rt-1-tip
|
|
author_username: samuelstancl
|
|
images:
|
|
- 'https://pbs.twimg.com/media/EidAtSYXgAc-6tH.png'
|
|
created_at: 2020-09-21T16:48:18+00:00
|
|
slug: closure-validation-rules-are-theyre-often-better-than-creating-a-class-just-for-a-single-use
|
|
---
|
|
|
|
Create a class if it's used on multiple places or way too complex. |