PHP Warning:
include(Pushwoosh.php) [<a href='function.include'>function.include</a>]: failed to open stream: No such file or directory
#1 - unknown(0): YiiBase::autoload("Pushwoosh")
#2 - spl_autoload_call("Pushwoosh")
I have no clues what else need to be done to make this work.
I don’t think you can do that. If you want to save yourself from writing the full namespace+class path over and over again, you can use an alias for all the 3rd party classes you’ll be using. At the top of your class file, you can put in the following:
use Gomoob\Pushwoosh\Client\Pushwoosh;
This should allow you to call the class the way you wanted to.
Just a note to people using namespace first time. Make sure you put "use Gomoob\Pushwoosh\Client\Pushwoosh;" at the very top and should not be in any class or function.