02-09-2012 06:06 PM
My code needs to login and then build/send the envelope programmatically in one request.
Therefore when I include api/Credential.php, and include api/APIService.php
Many of the same classes are defined in both of these files (although they have some different properties), thus it throws a 'cannot redefine' error in php.
How can I work around this?
Solved! Go to Solution.
02-10-2012 10:15 AM
I got it working with namespaces...but I had to instanitate all classes with the namespace path.