Troubleshooting “The use statement with non-compound name … has no effect”
PHP’s use isn’t the same as C++’s using namespace; it allows you to define an alias, not to “import” a namespace and thus henceforth omit the namespace qualifier altogether. So, you could do: use Blog\Article as BA; … to shorten it, but you cannot get rid of it entirely. Consequently, use Blog is useless, but … Read more