Welcome Guest, Not a member yet? Register   Sign In
APP_NAMESPACE do nothing..
#1

(This post was last modified: 06-28-2016, 06:17 AM by sv3tli0.)

Hi
I notice that there is no Namespace at the Home controller which is strange and I hope that it is just a temporary thing..
I tested the constant APP_NAMESPACE, but it doesn't do anything or at least I can't figure it out what its doing..

In my case I set APP_NAMESPACE to be "Testapp".
When I list all declared classes inside the controller Home .. 

Home exists only as \Home with no namespace, as its declared at first place.
And the APP_NAMESPACE Testapp is not listed at all inside the declared class list.

At the same time if I try to declare the App Namespace inside the controller everything dies..


What is the idea of that APP_NAMESPACE?
And why App/Controller/Home.php doesn't have any Namespace declaration ?
Best VPS Hosting : Digital Ocean
Reply


Messages In This Thread
APP_NAMESPACE do nothing.. - by sv3tli0 - 06-28-2016, 12:54 AM
RE: APP_NAMESPACE do nothing.. - by titounnes - 06-28-2016, 02:58 AM
RE: APP_NAMESPACE do nothing.. - by idealcastle - 06-28-2016, 04:54 AM
RE: APP_NAMESPACE do nothing.. - by kilishan - 06-28-2016, 06:23 AM
RE: APP_NAMESPACE do nothing.. - by kilishan - 06-28-2016, 06:24 AM
RE: APP_NAMESPACE do nothing.. - by titounnes - 06-28-2016, 07:35 AM
RE: APP_NAMESPACE do nothing.. - by sv3tli0 - 06-28-2016, 11:00 AM
RE: APP_NAMESPACE do nothing.. - by kilishan - 06-28-2016, 11:28 AM
RE: APP_NAMESPACE do nothing.. - by kilishan - 06-28-2016, 09:03 PM
RE: APP_NAMESPACE do nothing.. - by TenaciousC - 06-29-2016, 05:12 AM
RE: APP_NAMESPACE do nothing.. - by titounnes - 07-01-2016, 12:00 PM
RE: APP_NAMESPACE do nothing.. - by arma7x - 07-01-2016, 03:00 PM



Theme © iAndrew 2016 - Forum software by © MyBB