1 | <?php |
||
27 | class NewRegistrationsResponse implements ResponseInterface |
||
28 | { |
||
29 | protected $response; |
||
30 | |||
31 | /** |
||
32 | * Constructor |
||
33 | * |
||
34 | * @param object $response Actual response from SOAP |
||
35 | */ |
||
36 | public function __construct($response) |
||
40 | |||
41 | public function getCount() |
||
49 | |||
50 | /** |
||
51 | * Add new registration to EDBBrugs |
||
52 | * |
||
53 | * @return mixed (number of successful registrations) or throws Exception |
||
54 | */ |
||
55 | public function getBody() |
||
62 | |||
63 | /** |
||
64 | * Checks whether the communication is OK |
||
65 | * |
||
66 | * @return boolean |
||
67 | */ |
||
68 | public function isOk() |
||
75 | } |
||
76 |