Diglin\Swisspost\StructType\Communication
This class stands for Communication StructType
Synopsis
class Communication
extends AbstractStructBase
{
- // methods
- public void __construct()
- public string|null getEmail()
- public Communication setEmail()
- public string|null getMobile()
- public Communication setMobile()
- public static Communication __set_state()
- public string __toString()
Hierarchy
Extends
- WsdlToPhp\PackageBase\AbstractStructBase
Violations
PHPMessDetector
| Line | Rule | Message |
|---|---|---|
| 60 - 76 | CyclomaticComplexity | The method setEmail() has a Cyclomatic Complexity of 10. The configured cyclomatic complexity threshold is 10. |
| 90 - 110 | CyclomaticComplexity | The method setMobile() has a Cyclomatic Complexity of 14. The configured cyclomatic complexity threshold is 10. |
| 90 - 110 | NPathComplexity | The method setMobile() has an NPath complexity of 270. The configured NPath complexity threshold is 200. |
Members
public
- $Email
—
string
The Email Meta informations extracted from the WSDL - documentation: The email address. | Excludes unsupported characters. - $Mobile
—
string
The Mobile Meta informations extracted from the WSDL - documentation: Defines a valid phone number. | Excludes unsupported characters.
Methods
public
- __construct() — Constructor method for Communication
- __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
- getEmail() — Get Email value
- getMobile() — Get Mobile value
- setEmail() — Set Email value
- setMobile() — Set Mobile value