@@ -24,6 +24,9 @@ discard block |
||
| 24 | 24 | ini_set("soap.wsdl_cache_enabled", 0); |
| 25 | 25 | } |
| 26 | 26 | |
| 27 | + /** |
|
| 28 | + * @param string $method |
|
| 29 | + */ |
|
| 27 | 30 | protected function method($method, $requestParams, $response) |
| 28 | 31 | { |
| 29 | 32 | $this->separator(); |
@@ -76,6 +79,9 @@ discard block |
||
| 76 | 79 | }, $this->soapClient->__getFunctions()); |
| 77 | 80 | } |
| 78 | 81 | |
| 82 | + /** |
|
| 83 | + * @param string $name |
|
| 84 | + */ |
|
| 79 | 85 | protected function serviceInfo($name) |
| 80 | 86 | { |
| 81 | 87 | $style = new OutputFormatterStyle('red', 'green', array('bold')); |
@@ -52,7 +52,7 @@ discard block |
||
| 52 | 52 | * @WebMethod |
| 53 | 53 | * @param string $name |
| 54 | 54 | * @param string $number |
| 55 | - * @return object $agentNameWithId @(wrapper $agent @className=Agent) @int=$id |
|
| 55 | + * @return stdClass $agentNameWithId @(wrapper $agent @className=Agent) @int=$id |
|
| 56 | 56 | */ |
| 57 | 57 | public function getAgentWithId($name, $number) |
| 58 | 58 | { |
@@ -79,7 +79,7 @@ discard block |
||
| 79 | 79 | |
| 80 | 80 | /** |
| 81 | 81 | * @WebMethod |
| 82 | - * @return object[] $companies @string=$name @int=$id |
|
| 82 | + * @return stdClass[] $companies @string=$name @int=$id |
|
| 83 | 83 | */ |
| 84 | 84 | public function getCompanies() |
| 85 | 85 | { |
@@ -96,7 +96,7 @@ discard block |
||
| 96 | 96 | |
| 97 | 97 | /** |
| 98 | 98 | * @WebMethod |
| 99 | - * @return object $listOfAgents @(wrapper[] $agents @className=Agent) @int=$id |
|
| 99 | + * @return stdClass $listOfAgents @(wrapper[] $agents @className=Agent) @int=$id |
|
| 100 | 100 | */ |
| 101 | 101 | public function getListOfAgentsWithId() |
| 102 | 102 | { |
@@ -129,7 +129,7 @@ discard block |
||
| 129 | 129 | |
| 130 | 130 | /** |
| 131 | 131 | * @WebMethod |
| 132 | - * @return object[] $agentsWithPayment @(wrapper $agent @className=Agent) @float=$payment |
|
| 132 | + * @return stdClass[] $agentsWithPayment @(wrapper $agent @className=Agent) @float=$payment |
|
| 133 | 133 | */ |
| 134 | 134 | public function getAgentsWithPayment() |
| 135 | 135 | { |
@@ -148,7 +148,7 @@ discard block |
||
| 148 | 148 | |
| 149 | 149 | /** |
| 150 | 150 | * @WebMethod |
| 151 | - * @return object[] $employeesList @(wrapper[] $agents @className=Agent) |
|
| 151 | + * @return stdClass[] $employeesList @(wrapper[] $agents @className=Agent) |
|
| 152 | 152 | */ |
| 153 | 153 | public function getEmployeesWithAgents() |
| 154 | 154 | { |
@@ -70,7 +70,7 @@ |
||
| 70 | 70 | * @param string $name |
| 71 | 71 | * @param string $age |
| 72 | 72 | * @param string $payment |
| 73 | - * @return wrapper $userReturn @className=User |
|
| 73 | + * @return User $userReturn @className=User |
|
| 74 | 74 | */ |
| 75 | 75 | public function getUser($name, $age, $payment) |
| 76 | 76 | { |
@@ -84,7 +84,7 @@ |
||
| 84 | 84 | * @param string $name |
| 85 | 85 | * @param string $age |
| 86 | 86 | * @param string $payment |
| 87 | - * @return wrapper $userReturn @className=User |
|
| 87 | + * @return User $userReturn @className=User |
|
| 88 | 88 | */ |
| 89 | 89 | public function getUser($name, $age, $payment) |
| 90 | 90 | { |
@@ -51,7 +51,7 @@ discard block |
||
| 51 | 51 | * @WebMethod |
| 52 | 52 | * @param string $name |
| 53 | 53 | * @param string $number |
| 54 | - * @return object $agentNameWithId @(wrapper $agent @className=Agent) @int=$id |
|
| 54 | + * @return stdClass $agentNameWithId @(wrapper $agent @className=Agent) @int=$id |
|
| 55 | 55 | */ |
| 56 | 56 | public function getAgentWithId($name, $number) |
| 57 | 57 | { |
@@ -77,7 +77,7 @@ discard block |
||
| 77 | 77 | |
| 78 | 78 | /** |
| 79 | 79 | * @WebMethod |
| 80 | - * @return object[] $companies @string=$name @int=$id |
|
| 80 | + * @return stdClass[] $companies @string=$name @int=$id |
|
| 81 | 81 | */ |
| 82 | 82 | public function getCompanies() |
| 83 | 83 | { |
@@ -93,7 +93,7 @@ discard block |
||
| 93 | 93 | |
| 94 | 94 | /** |
| 95 | 95 | * @WebMethod |
| 96 | - * @return object $listOfAgents @(wrapper[] $agents @className=Agent) @int=$id |
|
| 96 | + * @return stdClass $listOfAgents @(wrapper[] $agents @className=Agent) @int=$id |
|
| 97 | 97 | */ |
| 98 | 98 | public function getListOfAgentsWithId() |
| 99 | 99 | { |
@@ -124,7 +124,7 @@ discard block |
||
| 124 | 124 | |
| 125 | 125 | /** |
| 126 | 126 | * @WebMethod |
| 127 | - * @return object[] $agentsWithPayment @(wrapper $agent @className=Agent) @float=$payment |
|
| 127 | + * @return stdClass[] $agentsWithPayment @(wrapper $agent @className=Agent) @float=$payment |
|
| 128 | 128 | */ |
| 129 | 129 | public function getAgentsWithPayment() |
| 130 | 130 | { |
@@ -142,7 +142,7 @@ discard block |
||
| 142 | 142 | |
| 143 | 143 | /** |
| 144 | 144 | * @WebMethod |
| 145 | - * @return object[] $employeesList @(wrapper[] $agents @className=Agent) |
|
| 145 | + * @return stdClass[] $employeesList @(wrapper[] $agents @className=Agent) |
|
| 146 | 146 | */ |
| 147 | 147 | public function getEmployeesWithAgents() |
| 148 | 148 | { |
@@ -69,7 +69,7 @@ |
||
| 69 | 69 | * @param string $name |
| 70 | 70 | * @param string $age |
| 71 | 71 | * @param string $payment |
| 72 | - * @return wrapper $userReturn @className=User |
|
| 72 | + * @return User $userReturn @className=User |
|
| 73 | 73 | */ |
| 74 | 74 | public function getUser($name, $age, $payment) |
| 75 | 75 | { |
@@ -50,7 +50,7 @@ discard block |
||
| 50 | 50 | * @WebMethod |
| 51 | 51 | * @param string $name |
| 52 | 52 | * @param string $number |
| 53 | - * @return object $agentNameWithId @(wrapper $agent @className=Agent) @int=$id |
|
| 53 | + * @return stdClass $agentNameWithId @(wrapper $agent @className=Agent) @int=$id |
|
| 54 | 54 | */ |
| 55 | 55 | public function getAgentWithId($name, $number) |
| 56 | 56 | { |
@@ -76,7 +76,7 @@ discard block |
||
| 76 | 76 | |
| 77 | 77 | /** |
| 78 | 78 | * @WebMethod |
| 79 | - * @return object[] $companies @string=$name @int=$id |
|
| 79 | + * @return stdClass[] $companies @string=$name @int=$id |
|
| 80 | 80 | */ |
| 81 | 81 | public function getCompanies() |
| 82 | 82 | { |
@@ -92,7 +92,7 @@ discard block |
||
| 92 | 92 | |
| 93 | 93 | /** |
| 94 | 94 | * @WebMethod |
| 95 | - * @return object $listOfAgents @(wrapper[] $agents @className=Agent) @int=$id |
|
| 95 | + * @return stdClass $listOfAgents @(wrapper[] $agents @className=Agent) @int=$id |
|
| 96 | 96 | */ |
| 97 | 97 | public function getListOfAgentsWithId() |
| 98 | 98 | { |
@@ -126,7 +126,7 @@ discard block |
||
| 126 | 126 | |
| 127 | 127 | /** |
| 128 | 128 | * @WebMethod |
| 129 | - * @return object[] $agentsWithPayment @(wrapper $agent @className=Agent) @float=$payment |
|
| 129 | + * @return stdClass[] $agentsWithPayment @(wrapper $agent @className=Agent) @float=$payment |
|
| 130 | 130 | */ |
| 131 | 131 | public function getAgentsWithPayment() |
| 132 | 132 | { |
@@ -145,7 +145,7 @@ discard block |
||
| 145 | 145 | |
| 146 | 146 | /** |
| 147 | 147 | * @WebMethod |
| 148 | - * @return object[] $employeesList @(wrapper[] $agents @className=Agent) |
|
| 148 | + * @return stdClass[] $employeesList @(wrapper[] $agents @className=Agent) |
|
| 149 | 149 | */ |
| 150 | 150 | public function getEmployeesWithAgents() |
| 151 | 151 | { |
@@ -68,7 +68,7 @@ |
||
| 68 | 68 | * @param string $name |
| 69 | 69 | * @param string $age |
| 70 | 70 | * @param string $payment |
| 71 | - * @return wrapper $userReturn @className=User |
|
| 71 | + * @return User $userReturn @className=User |
|
| 72 | 72 | */ |
| 73 | 73 | public function getUser($name, $age, $payment) |
| 74 | 74 | { |
@@ -67,6 +67,9 @@ discard block |
||
| 67 | 67 | |
| 68 | 68 | public static $alreadyGeneratedComplexTypes = array(); |
| 69 | 69 | |
| 70 | + /** |
|
| 71 | + * @param string $namespace |
|
| 72 | + */ |
|
| 70 | 73 | public function __construct($name, $namespace, $location) |
| 71 | 74 | { |
| 72 | 75 | $this->_name = $this->extractClassName($name); |
@@ -91,6 +94,9 @@ discard block |
||
| 91 | 94 | return $reflectedClass->getShortName(); |
| 92 | 95 | } |
| 93 | 96 | |
| 97 | + /** |
|
| 98 | + * @param MethodParser[] $WSDLMethods |
|
| 99 | + */ |
|
| 94 | 100 | public function setWSDLMethods($WSDLMethods) |
| 95 | 101 | { |
| 96 | 102 | $this->_WSDLMethods = $WSDLMethods; |
@@ -159,6 +165,9 @@ discard block |
||
| 159 | 165 | return $this; |
| 160 | 166 | } |
| 161 | 167 | |
| 168 | + /** |
|
| 169 | + * @param \DOMElement $schemaElement |
|
| 170 | + */ |
|
| 162 | 171 | private function _typesParameters($parameters, $schemaElement) |
| 163 | 172 | { |
| 164 | 173 | foreach ($parameters as $parameter) { |
@@ -439,6 +448,9 @@ discard block |
||
| 439 | 448 | return $attribute; |
| 440 | 449 | } |
| 441 | 450 | |
| 451 | + /** |
|
| 452 | + * @param string $elementName |
|
| 453 | + */ |
|
| 442 | 454 | public function createElementWithAttributes($elementName, $attributes, $value = '') |
| 443 | 455 | { |
| 444 | 456 | $element = $this->_createElement($elementName, $value); |