[UPDATE] SoapHeader improvements

After one case that breaks, we discover one little bug when catching
data for SoapHeaders from schemas. Indeed, the namespace was wrong and
the name of the parameter too. We made sure data are retrieved from the
right WSDL attributes and that each SoapHeader is well defined in the
Service class.

Put setSoapHeader method in the *WsdlClass so each Service class can
call it which simplifies its definition
[UPDATE] minor updates still for SoapHeader
[UPDATE] minor updates

Minor update to avoid PHP warning about empty XML content when calling
the method on a DOMDocument property type

Php doc block comment update
[UPDATE] adding several methods to manipulate headers

Adding methods to get Soap headers (getLastRequestHeaders and
getLastResponseHeaders) in order to get headers even as string or an
associative array.

Adding a method to ease the setting of HTTP Headers (setHttpHeader) in
the Soap object stream context
[UPDATE] minor php doc updates
[UPDATE] identical operation parameters type naming fix

As the methods, representing the operations, had their parameters named
as their type when the parameter type was an existing known class, it
generated errors as we had multiple parameters with the same name (ex:
login(StructString $_structString,StructString $_structString), which is
conflictual). This was used to generate the sample file easily. This
issue was fixed by naming the parameters with their real name (when
there is multiple parameters) and by reviewing the sample file
generation.
[UPDATE] global php doc harmonisation and minor improvement
[UPDATE] minor generated setter improvement

When a struct contains properties with invalid names (such as
"my-property"), the setter is named setMy_property but the property
which is set is $this->{'my-property'} so when the object is sent to the
SoapClient, this is the right value that is used. When we use
var_export, then the property is exported as "my-property" but the
set_state() method, called in the WsdlClass when loading the exported
object, only considers valid attribute names to call the setter. To fix
this issue, we then also set the valid attribute name $this->my_property
in the setMy_property() method, the setter. So the setter method,
setMy_property() is called accordingly to the attribute name when the
set_state() method is called and everything goes well!
[UPDATE] minor update to secure __set_state
[UPDATE] minor update to fix convertStringHeadersToArray() method
Merge pull request #1 from mikaelcom/master

[UPDATE] minor update to fix convertStringHeadersToArray() method
[UPDATE] ease cases for returned or sent arrays
[UPDATE] fixing issue #8

This update resolves #8 issue because now it merges multiple element
structure when identical element is declared with different structure
Merge pull request #12 from ArumVision/master

Merge pull request #1 from mikaelcom/master
[UPDATE] minor improvement

Use isset() function to determine if __default_soap_headers and
_stream_context are already defined instead of using @ when getting the
the SoapClient properties
Merge branch 'master' of https://github.com/mikaelcom/WsdlToPhp.git
[UPDATE] code review and enhancements

Override WsdlToPhpModel::getOwner() method in inherited classes when it makes sense so the caller knows the exact return type

Enhanced attribute type definition by avoiding that the attribute type is the type of the class it belongs to
Delete WsdlToPhp.php

Remove obsolete and unused class. For your information, this class has been replaced long time ago by the WsdlToPhpGenerator class
Delete samples.php

Remove obsolete and unused file. For your information, this file has been replaced long time ago by the samples-generator.php file that uses the actual WsdlToPhpGenerator class.
Update README.md

Add scrutinizer code quality badge