Guest User

Untitled

a guest
May 25th, 2018
135
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.40 KB | None | 0 0
  1. class Writer {
  2.  
  3.  
  4. /**
  5. * Write to a file
  6. *
  7. * @param integer $x
  8. * @param integer $y
  9. * @return integer
  10. */
  11. public function write($x, $y) {
  12.  
  13. return $x+$y;
  14. }
  15. }
  16. class IndexController extends Zend_Controller_Action {
  17.  
  18. public function indexAction() {
  19.  
  20. $wsdl = new Zend_Soap_AutoDiscover();
  21. $wsdl->setClass('Writer');
  22. $wsdl->handle();
  23. exit;
  24. }
  25. }
Add Comment
Please, Sign In to add comment