namespace: use mulitple classes

Posted by xdevel2000 on Stack Overflow See other posts from Stack Overflow or by xdevel2000
Published on 2010-04-09T11:18:29Z Indexed on 2010/04/09 11:33 UTC
Read the original article Hit count: 293

Filed under:
|

If I have some php classes inside a namespace com\test

and want to import all of them into another php file how can do that?

use com\test\ClassA
use com\test\ClassB
...

use com\test\* give me syntax error.

© Stack Overflow or respective owner

Related posts about php

Related posts about namespaces