Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class Writer {
- /**
- * Write to a file
- *
- * @param integer $x
- * @param integer $y
- * @return integer
- */
- public function write($x, $y) {
- return $x+$y;
- }
- }
- class IndexController extends Zend_Controller_Action {
- public function indexAction() {
- $wsdl = new Zend_Soap_AutoDiscover();
- $wsdl->setClass('Writer');
- $wsdl->handle();
- exit;
- }
- }
Add Comment
Please, Sign In to add comment