Given this:
use \MyProject\SubProjectA as A;
A\foo::someMethod();
The className given is to the autoload function is
"MyProject\SubProjectA\foo" not "\MyProject\SubProjectA\foo" (notice lack of
leading )
I just wanted to verify that behaves as intended (which I'm guessing it
does).
--
Tony Bibbs
Email: tony@tonybibbs.com Phone: 515.554.8046
Twitter: tonybibbs Skype: tonybibbs
Web: http://www.tonybibbs.com
Tony Bibbs wrote:
Given this:
use \MyProject\SubProjectA as A;
A\foo::someMethod();
The className given is to the autoload function is
"MyProject\SubProjectA\foo" not "\MyProject\SubProjectA\foo" (notice lack of
leading )I just wanted to verify that behaves as intended (which I'm guessing it
does).
Yes. This is probably a good item to add to the FAQ.
Greg