Answer the question
In order to leave comments, you need to log in
Why doesn't laravel document many features?
For example, in the documentation for laravel there is not a word that you can create class instances in this way:$object = app('Namespase\Class');
Answer the question
In order to leave comments, you need to log in
The Russian-speaking Laravel community will gladly accept your suggestions and comments in the form of pull requests in the .
There is no point in creating such detailed documentation: an amateur will not master it and will not appreciate it, and it will be easier for a specialist to look at the source code.
In Laravel, there really are some non-obvious moments, for example, under the hood, one or another package from symfony crawls out from time to time, the documentation for which is better to look for on the website of this framework.
But specifically in this case, the process of creating a class instance in this way is described here: laravel.su/docs/5.0/container
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question