PHP Classes

File: UPGRADE-4.0.md

Recommend this page to a friend!
  Classes of WsdlToPhp   Package Base   UPGRADE-4.0.md   Download  
File: UPGRADE-4.0.md
Role: Auxiliary data
Content type: text/markdown
Description: Auxiliary data
Class: Package Base
Base classes for implementing a package generator
Author: By
Last change:
Date: 3 years ago
Size: 678 bytes
 

Contents

Class file image Download

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');