From the PHP documentation:
only four types of code are affected by namespaces: classes, interfaces, functions and constants.
But, it seems to me that TRAITS are also affected:
namespace FOO;
trait fooFoo {}
namespace BAR;
class baz
{
use fooFoo; // Fatal error: Trait 'BAR\fooFoo' not found in
}
Am I wrong?