1 <?php 2 /** 3 * Zend Framework 4 * 5 * LICENSE 6 * 7 * This source file is subject to the new BSD license that is bundled 8 * with this package in the file LICENSE.txt. 9 * It is also available through the world-wide-web at this URL: 10 * http://framework.zend.com/license/new-bsd 11 * If you did not receive a copy of the license and are unable to 12 * obtain it through the world-wide-web, please send an email 13 * to license@zend.com so we can send you a copy immediately. 14 * 15 * @category Zend 16 * @package Zend_Soap 17 * @subpackage Wsdl 18 * @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com) 19 * @license http://framework.zend.com/license/new-bsd New BSD License 20 * @version $Id$ 21 */ 22 23 /** 24 * @see Zend_Soap_Wsdl_Strategy_Interface 25 */ 26 27 /** 28 * Abstract class for Zend_Soap_Wsdl_Strategy. 29 * 30 * @category Zend 31 * @package Zend_Soap 32 * @subpackage Wsdl 33 * @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com) 34 * @license http://framework.zend.com/license/new-bsd New BSD License 35 */ 36 abstract class Zend_Soap_Wsdl_Strategy_Abstract implements Zend_Soap_Wsdl_Strategy_Interface 37 { 38 /** 39 * Context object 40 * 41 * @var Zend_Soap_Wsdl 42 */ 43 protected $_context; 44 45 /** 46 * Set the Zend_Soap_Wsdl Context object this strategy resides in. 47 * 48 * @param Zend_Soap_Wsdl $context 49 * @return void 50 */ 51 public function setContext(Zend_Soap_Wsdl $context) 52 { 53 $this->_context = $context; 54 } 55 56 /** 57 * Return the current Zend_Soap_Wsdl context object 58 * 59 * @return Zend_Soap_Wsdl 60 */ 61 public function getContext() 62 { 63 return $this->_context; 64 } 65 }