Hidden Laravel Tip - The Unbeatable Fluent Class

Hidden Laravel Tip - The Unbeatable Fluent Class

Laratips

2 года назад

7,455 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

Rahul Baruah
Rahul Baruah - 11.05.2023 23:21

Awesome hidden tip. Thanks.

Ответить
Max Bernasconi
Max Bernasconi - 01.02.2023 17:01

Great tips! I was justo strugling with some arrays

Ответить
Vijay Azad
Vijay Azad - 02.01.2023 10:42

Cóol

Ответить
Công Nguyễn Chí
Công Nguyễn Chí - 10.06.2022 19:26

thanks for sharing

Ответить
Khizer
Khizer - 26.02.2022 21:49

Wallah useful 🔥

Ответить
Bhavesh Verma
Bhavesh Verma - 24.02.2022 19:49

Can we use outside laravel

Ответить
Arief Wijaya
Arief Wijaya - 24.02.2022 05:13

Tips: Just because it didn't show error doesn't mean its ok. Your example are so wrong at so many level, and tend to create bad code at beginner/mid level programmer.

Ответить
a ogunnaike
a ogunnaike - 23.02.2022 09:13

Awesome 👍, which text editor is this?

Ответить
Amitav Roy
Amitav Roy - 23.02.2022 04:49

Great tip buddy 👍

Ответить
Ashish Shakya
Ashish Shakya - 22.02.2022 06:15

This is awesome. I didnt know about this feature until now

Ответить
Sidney Marie-Anne
Sidney Marie-Anne - 22.02.2022 03:09

So convenient! Thank you

Ответить
Zaher Thaifani
Zaher Thaifani - 22.02.2022 03:00

Nice ,very Nice

Ответить
Eyad Mohammed Osama
Eyad Mohammed Osama - 21.02.2022 20:53

I appreciate the effort you made into this video, but i don't think this class is meant for direct usage
I mean there might be a good reason behind not documenting it, maybe they don't want developers to interact with it directly
What do you think ?

Ответить
beluv
beluv - 21.02.2022 17:45

I did enjoy learning about Fluent. However, reminding us to thumbs up, subscribe, and click the bell 3 times within a 5 minute video was a bit excessive.

Ответить
Jordan
Jordan - 21.02.2022 17:40

I am seeing this is will be useful when checking for checkbox input values.

Ответить
Dibakar Mitra
Dibakar Mitra - 21.02.2022 16:35

This is the best awesome bro. 👍👍👍

Ответить
Santosh Maharjan
Santosh Maharjan - 21.02.2022 12:44

What do you think about defining a function with a return type Fluent? I am trying to do so. Here is the detail.

#❌
function getData(): Fluent
{
return (new Fluent([
'country' => "nepal"
]));
}
>> Error => InvalidArgumentException with message 'Unable to find type name'

#✅
function getData()
{
return (new Fluent([
'country' => "nepal"
]));
}

Do you know about this?

Ответить
Lasse Maerkedahl Larsen
Lasse Maerkedahl Larsen - 21.02.2022 12:42

This is awesome, would you use this instead of a dto or value object? Looks super clean.

Ответить
Lee Weiquan
Lee Weiquan - 21.02.2022 12:23

Awesome tips!

Ответить
J A
J A - 21.02.2022 11:35

Thanks for sharing, very useful. I can see that in wrong hand it can be lethal though.

Ответить