@@ -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')); |
@@ -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 | { |
@@ -26,7 +26,6 @@ |
||
26 | 26 | use Ouzo\Utilities\Inflector; |
27 | 27 | use WSDL\Parser\MethodParser; |
28 | 28 | use WSDL\Types\Type; |
29 | -use WSDL\Utilities\Strings; |
|
30 | 29 | use WSDL\Utilities\TypeHelper; |
31 | 30 | |
32 | 31 | /** |
@@ -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); |
@@ -51,7 +51,7 @@ discard block |
||
51 | 51 | /** |
52 | 52 | * @WebMethod |
53 | 53 | * @param object $object1 @string=$name @int=$id |
54 | - * @return object $return @string=$new_name @int=$new_id |
|
54 | + * @return stdClass $return @string=$new_name @int=$new_id |
|
55 | 55 | */ |
56 | 56 | public function arrayTest($object1) |
57 | 57 | { |
@@ -73,7 +73,7 @@ discard block |
||
73 | 73 | |
74 | 74 | /** |
75 | 75 | * @WebMethod |
76 | - * @return wrapper[] $mockUsers @className=\Mocks\MockUserWrapper |
|
76 | + * @return MockUserWrapper[] $mockUsers @className=\Mocks\MockUserWrapper |
|
77 | 77 | */ |
78 | 78 | public function arrayOfMockUser() |
79 | 79 | { |
@@ -30,7 +30,7 @@ |
||
30 | 30 | * @param string $name |
31 | 31 | * @param wrapper $customer @className=\Mocks\WrapperClass\Customer |
32 | 32 | * @param wrapper $purchase @className=\Mocks\WrapperClass\Purchase |
33 | - * @return wrapper $purchaseResult @className=\Mocks\WrapperClass\PurchaseResult |
|
33 | + * @return integer $purchaseResult @className=\Mocks\WrapperClass\PurchaseResult |
|
34 | 34 | */ |
35 | 35 | public function multipleWrappers($name, $customer, $purchase) |
36 | 36 | { |
@@ -32,7 +32,7 @@ |
||
32 | 32 | |
33 | 33 | /** |
34 | 34 | * @param object $object1 @string=name @int=id |
35 | - * @return object $return @string=new_name @int=new_id |
|
35 | + * @return stdClass $return @string=new_name @int=new_id |
|
36 | 36 | */ |
37 | 37 | public function arrayTest($object1) |
38 | 38 | { |
@@ -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 | { |