You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: UPGRADE-4.0.md
+5-2Lines changed: 5 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,7 +11,10 @@
11
11
-**The directive**`declare(strict_types=1)` is placed at top of each file ensuring that the class is well-defined and behaves as declared.
12
12
-**Method**`get{PropertyName}(bool $asString = true)` becomes `get{PropertyName}(bool $asDomDocument = false)` when the property is supposed to be an XML string (`any`). Be sure to pass `true` instead of `false` if you still need to get the **[DOMDocument](https://www.php.net/manual/en/class.domdocument.php)** as returned value.
13
13
- Classes **directory** is now based on the defined namespace. If the namespace was `SoapApi`:
14
-
-**Before**: the `Request` Struct class was located at `src/StructType/Request.php`
15
-
-**Now**: the `Request` Struct class is located at `src/SoapApi/StructType/Request.php`. So on for the `EnumType`, `ArrayType`, `ServiceType` and the `ClassMap` classes.
14
+
-**Before**:
15
+
- the `Request` Struct class was located at `src/StructType/Request.php`
16
+
-**Now**:
17
+
- the `Request` Struct class is located at `src/SoapApi/StructType/Request.php`. So on for the `EnumType`, `ArrayType`, `ServiceType` and the `ClassMap` classes.
18
+
-**If this new behaviour is problematic for your current usage, the command line option [`namespace-directories`](https://github.com/WsdlToPhp/PackageGenerator/wiki/Options#namespace-directories) can be set to `false` to keep the previous behaviour**.
16
19
3.**WsdlHandler** classes: they have been exported to an independent project at **[WsdlTophp/Wsdlhandler](https://github.com/WsdlToPhp/Wsdlhandler)**. It's now loaded as a composer dependency.
17
20
4. The [PackageBase](https://github.com/WsdlToPhp/PackageBase) version is now >= 5.0.
0 commit comments