You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What is the purpose of (:use \Laravel\Lumen\Application) if the file runs either way?
I was expected to get an exception or error if the php class was not included with :use in the file.
Update: Does (:use \Laravel\Lumen\Application) mean that I can reference that class by just using Application. If so, how can I alias it to something else? Also, how do I use a imported phel library? Did I miss that in the documentation?
The text was updated successfully, but these errors were encountered:
This code runs correctly:
This code also runs correctly:
What is the purpose of
(:use \Laravel\Lumen\Application)
if the file runs either way?I was expected to get an exception or error if the php class was not included with
:use
in the file.Update: Does
(:use \Laravel\Lumen\Application)
mean that I can reference that class by just usingApplication
. If so, how can I alias it to something else? Also, how do I use a imported phel library? Did I miss that in the documentation?The text was updated successfully, but these errors were encountered: