Creating 2 classes with same names in different namespaces |
[eluser]varun[/eluser]
Hi Is it possible in PHP to create 2 or more classes with same name in different namespaces. If yes then will be great a small example. Thanks in advance for any type of help reply.
[eluser]tomcode[/eluser]
Namespaces have been introduced only recently in PHP 5.3.0, see PHP manual. I'd not use them for the moment, too early, unless You control the server installation. CI does not use them.
[eluser]Adam Griffiths[/eluser]
Yes. That is the whole point of having namespaces.
[eluser]porquero[/eluser]
I can to work with namespaces in controllers. You can see more information here: http://ellislab.com/forums/viewthread/212661/ |
Welcome Guest, Not a member yet? Register Sign In |