dmt-software /
insolvency-client
| 1 | <?php |
||
| 2 | |||
|
0 ignored issues
–
show
Coding Style
introduced
by
Loading history...
|
|||
| 3 | namespace DMT\Insolvency; |
||
| 4 | |||
| 5 | /** |
||
| 6 | * Class Config |
||
| 7 | */ |
||
|
0 ignored issues
–
show
|
|||
| 8 | class Config |
||
| 9 | { |
||
| 10 | /** |
||
| 11 | * The soap WSDL. |
||
| 12 | * |
||
| 13 | * @var string $wsdl [optional] |
||
| 14 | */ |
||
| 15 | public $wsdl; |
||
| 16 | |||
| 17 | /** |
||
| 18 | * The soap end point. |
||
| 19 | * |
||
| 20 | * @var string $endPoint |
||
| 21 | */ |
||
| 22 | public $endPoint = 'https://webservice.rechtspraak.nl/cir.asmx'; |
||
| 23 | |||
| 24 | /** |
||
| 25 | * The authorized user. |
||
| 26 | * |
||
| 27 | * @var string $user |
||
| 28 | */ |
||
| 29 | public $user; |
||
| 30 | |||
| 31 | /** |
||
| 32 | * The password for the authorized user. |
||
| 33 | * |
||
| 34 | * @var string $password |
||
| 35 | */ |
||
| 36 | public $password; |
||
| 37 | |||
| 38 | /** |
||
| 39 | * The end point for retrieving the document. |
||
| 40 | * |
||
| 41 | * @var string $documentUri |
||
| 42 | */ |
||
| 43 | public $documentUri = 'https://insolventies.rechtspraak.nl/services/verslagenservice/getpdf/'; |
||
| 44 | |||
| 45 | /** |
||
| 46 | * Config constructor. |
||
| 47 | * |
||
| 48 | * @param array $options |
||
|
0 ignored issues
–
show
|
|||
| 49 | */ |
||
| 50 | 14 | public function __construct(array $options = []) |
|
| 51 | { |
||
| 52 | 14 | foreach ($options as $property => $value) { |
|
| 53 | 14 | if (property_exists($this, $property)) { |
|
| 54 | 14 | $this->{$property} = $value; |
|
| 55 | } |
||
| 56 | } |
||
| 57 | 14 | } |
|
| 58 | } |
||
| 59 |