This is how to define a complex type f.e. - the class ComplexTypeDemo doesn't need to exists, but it would make it easier for you to return that complex type from a method
@pw_element string $StringA A string with a value @pw_element string $StringB A string with a NULL value @pw_set nillable=false The next element can't be NULL @pw_element int $Integer An integer @pw_set nillable=false The next element can't be NULL @pw_element boolean $Boolean A boolean @pw_complex ComplexTypeDemo The complex type name definition