/library/Zend/Soap/Wsdl/Strategy/Interface.php
PHP | 48 lines | 6 code | 2 blank | 40 comment | 0 complexity | 6da549336f2466e80190331c060b8837 MD5 | raw file
Possible License(s): AGPL-1.0
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-2012 Zend Technologies USA Inc. (http://www.zend.com)
19 * @license http://framework.zend.com/license/new-bsd New BSD License
20 * @version $Id: Interface.php 24594 2012-01-05 21:27:01Z matthew $
21 */
22
23/**
24 * Interface for Zend_Soap_Wsdl_Strategy.
25 *
26 * @category Zend
27 * @package Zend_Soap
28 * @subpackage Wsdl
29 * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
30 * @license http://framework.zend.com/license/new-bsd New BSD License
31 */
32interface Zend_Soap_Wsdl_Strategy_Interface
33{
34 /**
35 * Method accepts the current WSDL context file.
36 *
37 * @param <type> $context
38 */
39 public function setContext(Zend_Soap_Wsdl $context);
40
41 /**
42 * Create a complex type based on a strategy
43 *
44 * @param string $type
45 * @return string XSD type
46 */
47 public function addComplexType($type);
48}