O
O
ortsuev332019-12-02 22:37:05
Laravel
ortsuev33, 2019-12-02 22:37:05

Where does the static method in the service container come from?

I got into the depths of Laravel and got even more confused).
We have a service container, it has a regular method, how is it that through the facade we can access it as a static one?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
Mikhail Osher, 2019-12-02
@miraage

We read far and wide, especially the section "How Facades Work".
https://laravel.com/docs/5.7/facades

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question