File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -95,10 +95,13 @@ use Soap\Encoding\Encoder\XmlEncoder;
95
95
use VeeWee\Reflecta\Iso\Iso;
96
96
97
97
/**
98
- * @implements XmlEncoder<string , MyClass >
98
+ * @implements XmlEncoder<MyClass , string >
99
99
*/
100
100
class MySpecificTypeCEncoder implements XmlEncoder
101
101
{
102
+ /**
103
+ * @return Iso<MyClass , string >
104
+ */
102
105
public function iso(Context $context) : Iso
103
106
{
104
107
return new Iso(
@@ -108,3 +111,6 @@ class MySpecificTypeCEncoder implements XmlEncoder
108
111
}
109
112
}
110
113
```
114
+
115
+ ** Note: ** An encoder is considered to be isomorphic : When calling ` from ` and ` to ` on the ` Iso ` object, the data should be the same.
116
+ More information about the concept [ can be found here] ( https://github.com/veewee/reflecta/blob/main/docs/isomorphisms.md ) .
You can’t perform that action at this time.
0 commit comments