1 | <?php |
||
24 | class AddingContactEvent extends AbstractResponseEvent { |
||
25 | |||
26 | /** |
||
27 | * Adding contact. |
||
28 | * |
||
29 | * @var AddingContactInterface |
||
30 | */ |
||
31 | private $addingContact; |
||
32 | |||
33 | /** |
||
34 | * Constructor. |
||
35 | * |
||
36 | * @param AddingContactInterface $addingContact The adding contact. |
||
37 | */ |
||
38 | public function __construct(AddingContactInterface $addingContact) { |
||
42 | |||
43 | /** |
||
44 | * Get the adding contact. |
||
45 | * |
||
46 | * @return AddingContactInterface Returns the adding contact. |
||
47 | */ |
||
48 | public function getAddingContact() { |
||
51 | |||
52 | /** |
||
53 | * Get the adding contact request. |
||
54 | * |
||
55 | * @return AddingContactRequest Returns the adding contact request. |
||
56 | */ |
||
57 | public function getRequest() { |
||
60 | |||
61 | /** |
||
62 | * Get the adding contact response. |
||
63 | * |
||
64 | * @return AddingContactResponse Returns the adding contact response. |
||
65 | */ |
||
66 | public function getResponse() { |
||
69 | |||
70 | /** |
||
71 | * Set the adding contact. |
||
72 | * |
||
73 | * @param AddingContactInterface $addingContact The adding contact. |
||
74 | * @return AddingContactEvent Returns this adding contact event. |
||
75 | */ |
||
76 | protected function setAddingContact(AddingContactInterface $addingContact) { |
||
80 | } |
||
81 |