Create Your Own Plugin
Hi, I have this downside customizing the foo, I created it as advertised in the documentation.
create a new class named Canver and method getFeaturedCanver(), assign namespace in all files
when I add new classes and modules I get this error
I want to make a query from the blades
@php $ canver = \ Canver :: getFeaturedCanver(); @endphp
Class not found
How do I fix this class not found error?
In order to be able to call a class statically, you need to attach a facade to your class,
you will find many examples inside Laraship how to use Facade
Please login or Register to submit your answer