← prev | next →
JeevaniSM 2020-12-25 09:48:19
and in my controller, I done
use ReportBuilderFacade;
then
$report = new ReportBuilderFacade;
$data = $report->build();
now the error says “”
Error
Call to undefined method AppFacadesReportBuilderFacade::build()
JeevaniSM 2020-12-25 09:48:32
any help pls
skys215 2020-12-25 09:49:45
Are there build mehtod?
JeevaniSM 2020-12-25 09:50:51
skys215 2020-12-25 09:49:45
Are there build mehtod?
yes
JeevaniSM 2020-12-25 09:51:09
I followed a tutorial which wrote for laravel 6
JeevaniSM 2020-12-25 09:51:21
I suspect the steps are different for laravel 8 ?
Christopher 2020-12-25 09:53:57
How do I learn laravel in simplest form
Christopher 2020-12-25 09:54:20
Can anybody guide for it
Bhuvi100 2020-12-25 09:54:34
Learning Laravel in its simplest form?
Bhuvi100 2020-12-25 09:54:45
No use in doing so
Ryan151995 2020-12-25 09:54:55
Christopher 2020-12-25 09:53:57
How do I learn laravel in simplest form
By seeing the directory structure .
Christopher 2020-12-25 09:56:02
I saw some YouTube videos but I got more confused
Ryan151995 2020-12-25 09:56:25
Where you also find a alot of examples
Ryan151995 2020-12-25 09:57:16
Christopher 2020-12-25 09:56:02
I saw some YouTube videos but I got more confused
That’s why I am saying go to offical website laravel and see the directory structure.
Christopher 2020-12-25 09:57:55
Okay thank you
Ryan151995 2020-12-25 10:00:27
Christopher 2020-12-25 09:57:55
Okay thank you
First try to understand 4 things route, view, controller and model. If you want to learn any framework.
Christopher 2020-12-25 10:02:04
What is difference between route and controller
Rashid 2020-12-25 10:04:49
how can i upload multiple images
Rashid 2020-12-25 10:05:00
in laravel
Dee2499 2020-12-25 10:07:17
Rashid 2020-12-25 10:04:49
how can i upload multiple images
Use dropzone js, multiple parameter in file in html on submit you will get array of images
Yash Vardhan Gupta 2020-12-25 10:10:06
Hi friends I need help to design architecture of wallet for hotal booking application.
Dee2499 2020-12-25 10:10:25
Christopher 2020-12-25 10:02:04
What is difference between route and controller
Route points your url action to some controller and action/method
Controller have all the methods and business logic
E.g. www.test.com/user/create
user/create is route in web.php which points it to UserController@create method
JeevaniSM 2020-12-25 10:36:57
what is the class alias in laravel ?
amirvalhalla 2020-12-25 11:28:56
JeevaniSM 2020-12-25 10:36:57
what is the class alias in laravel ?
For example instead of Auth::User you can use auth() ->user() without use the Auth facade into your class
JeevaniSM 2020-12-25 11:29:29
amirvalhalla 2020-12-25 11:28:56
For example instead of Auth::User you can use auth() ->user() without use the Auth facade into your class
how can I make my custom class acessible anywhere in the app ? should I make aliases ?
amirvalhalla 2020-12-25 11:30:44
JeevaniSM 2020-12-25 11:29:29
how can I make my custom class acessible anywhere in the app ? should I make aliases ?
It has several ways you can search on google
JeevaniSM 2020-12-25 11:33:08
amirvalhalla 2020-12-25 11:30:44
It has several ways you can search on google
is it making a custom facade is one of them ?
amirvalhalla 2020-12-25 11:34:12
JeevaniSM 2020-12-25 11:33:08
is it making a custom facade is one of them ?
Please search, one way is defining a class then import it into composer autoload etc
JeevaniSM 2020-12-25 11:38:25
amirvalhalla 2020-12-25 11:34:12
Please search, one way is defining a class then import it into composer autoload etc
ok
JeevaniSM 2020-12-25 11:38:54
amirvalhalla 2020-12-25 11:34:12
Please search, one way is defining a class then import it into composer autoload etc
what are the other ways ? I am trying to make a facade thinking its the best way
amirvalhalla 2020-12-25 11:40:10
It’s good but every time you have to use facade in your class of course sometimes it’s a good choice, it depends on your strategy and what you wanna make
JeevaniSM 2020-12-25 11:40:44
amirvalhalla 2020-12-25 11:40:10
It’s good but every time you have to use facade in your class of course sometimes it’s a good choice, it depends on your strategy and what you wanna make
may I Pm you ? pls ?
RezaAmini_ir 2020-12-25 11:45:25
JeevaniSM 2020-12-25 10:36:57
what is the class alias in laravel ?
instead of using something like :
IlluminateSupportFacadeAuth::foo
You can just say Auth::foo
It’s a example of class alias
and It’s not just for Laravel, you can use it in PHP with a default function (Which Laravel uses in behind sence)
JeevaniSM 2020-12-25 11:46:23
RezaAmini_ir 2020-12-25 11:45:25
instead of using something like :
IlluminateSupportFacadeAuth::foo
You can just say Auth::foo
It’s a example of class alias
and It’s not just for Laravel, you can use it in PHP with a default function (Which Laravel uses in behind sence)
ok thanx
JeevaniSM 2020-12-25 11:46:37
RezaAmini_ir 2020-12-25 11:45:25
instead of using something like :
IlluminateSupportFacadeAuth::foo
You can just say Auth::foo
It’s a example of class alias
and It’s not just for Laravel, you can use it in PHP with a default function (Which Laravel uses in behind sence)
how do we create ? the best way ?
← prev | next →