Skip to content

Latest commit

 

History

History
21 lines (17 loc) · 678 Bytes

UPGRADE-4.0.md

File metadata and controls

21 lines (17 loc) · 678 Bytes

UPGRADE FROM 3.0 to 4.0

The previously _set and _get methods are to be used internally and are not intended to be used externally, at your own risks ;)

Previously:

/** @var WsdlToPhp\PackageBase\AbstractStructBase|WsdlToPhp\PackageBase\AbstractStructArrayBase $o */
$o = new Struct();
$o->_set('name', 'the name');
$theName = $o->_get('name');

Same remark as previously, methods are renamed and marked as internal from now on ;)

Now:

/** @var WsdlToPhp\PackageBase\AbstractStructBase|WsdlToPhp\PackageBase\AbstractStructArrayBase $o */
$o = new Struct();
$o->setPropertyValue('name', 'the name');
$theName = $o->getPropertyValue('name');