mirror of
https://github.com/archtechx/laravel-tips.git
synced 2025-12-12 21:34:03 +00:00
634 B
634 B
| title | tweet_id | thread_slug | author_username | images | created_at | slug | |
|---|---|---|---|---|---|---|---|
| If you're returning class names (as opposed to instances), you can use the class-name docblock | 1469321064668753921 | weekly-thread-2021-49 | freekmurze |
|
2021-12-10T15:00:15+00:00 | if-youre-returning-class-names-as-opposed-to-instances-you-can-use-the-class-name-docblock |
If you’re returning a fully qualified class name, you can use the class-name docblock. You can specify a base class or interface between <>
And of course, you can also return an array of class-names too 👍
#php