Diglin\Swisspost\StructType\LabelAddress
This class stands for LabelAddress StructType Meta informations extracted from the WSDL - documentation: optional, used to declare a specific address on the label. if omitted, the address data of the recipient is taken. Useful if the address data of the recipient exceeds the length of the label.
Synopsis
class LabelAddress
extends AbstractStructBase
{
- // members
- public $LabelLine;
- // methods
- public void __construct()
- public array getLabelLine()
- public LabelAddress setLabelLine()
- public LabelAddress addToLabelLine()
- public static LabelAddress __set_state()
- public string __toString()
Hierarchy
Extends
- WsdlToPhp\PackageBase\AbstractStructBase
Violations
PHPMessDetector
| Line | Rule | Message |
|---|---|---|
| 52 - 70 | CyclomaticComplexity | The method setLabelLine() has a Cyclomatic Complexity of 11. The configured cyclomatic complexity threshold is 10. |
| 77 - 93 | CyclomaticComplexity | The method addToLabelLine() has a Cyclomatic Complexity of 10. The configured cyclomatic complexity threshold is 10. |
Members
public
- $LabelLine
—
array
The LabelLine Meta informations extracted from the WSDL - maxOccurs: 5 - minOccurs: 2 - maxLength: 35 - documentation: Excludes unsupported characters.
Methods
public
- __construct() — Constructor method for LabelAddress
- __set_state() — Method called when an object has been exported with var_export() functions It allows to return an object instantiated with the values
- __toString() — Method returning the class name
- addToLabelLine() — Add item to LabelLine value
- getLabelLine() — Get LabelLine value
- setLabelLine() — Set LabelLine value