PluginProbe ʕ •ᴥ•ʔ
Booking for Appointments and Events Calendar – Amelia / 2.4.4
Booking for Appointments and Events Calendar – Amelia v2.4.4
2.4.4 2.4.3 2.4.2 2.4.1 2.4 trunk 1.2.1 1.2.10 1.2.11 1.2.12 1.2.13 1.2.14 1.2.15 1.2.16 1.2.17 1.2.18 1.2.19 1.2.2 1.2.20 1.2.21 1.2.22 1.2.23 1.2.24 1.2.25 1.2.26 1.2.27 1.2.28 1.2.29 1.2.3 1.2.30 1.2.31 1.2.32 1.2.33 1.2.34 1.2.35 1.2.36 1.2.37 1.2.38 1.2.4 1.2.5 1.2.6 1.2.7 1.2.8 1.2.9 2.0 2.0.1 2.0.2 2.1 2.1.1 2.1.2 2.1.3 2.2 2.2.1 2.3
ameliabooking / src / Infrastructure / Services / Mailchimp / StarterMailchimpService.php
ameliabooking / src / Infrastructure / Services / Mailchimp Last commit date
AbstractMailchimpService.php 5 months ago MailchimpNotFoundException.php 5 months ago MailchimpRequestException.php 5 months ago StarterMailchimpService.php 5 months ago
StarterMailchimpService.php
81 lines
1 <?php
2
3 namespace AmeliaBooking\Infrastructure\Services\Mailchimp;
4
5 use AmeliaBooking\Infrastructure\Common\Container;
6
7 /**
8 * Class StarterMailchimpService
9 *
10 * @package AmeliaBooking\Infrastructure\Services\Mailchimp
11 */
12 class StarterMailchimpService extends AbstractMailchimpService
13 {
14 /**
15 * StarterMailchimpService constructor.
16 *
17 * @param Container $container
18 *
19 */
20 public function __construct(Container $container)
21 {
22 $this->container = $container;
23 }
24
25 /**
26 * Create a URL to obtain user authorization.
27 *
28 * @return string
29 */
30 public function createAuthUrl(): string
31 {
32 return '';
33 }
34
35 /**
36 * Returns the mailing lists
37 *
38 * @return array
39 */
40 public function getLists(): array
41 {
42 return [];
43 }
44
45 /**
46 * Get the metadata server name from Mailchimp.
47 *
48 * @param string $accessToken
49 *
50 * @return string|null
51 */
52 public function getMetadataServerName(string $accessToken)
53 {
54 return '';
55 }
56
57 /**
58 * Add subscriber to the mailing list or update existing subscriber.
59 *
60 *
61 * @param string $email
62 * @param array $customer
63 * @param bool $add
64 * @return void
65 */
66 public function addOrUpdateSubscriber($email, array $customer, bool $add = true): void
67 {
68 }
69
70 /**
71 * Delete subscriber from the mailing list.
72 *
73 * @param string $email
74 *
75 * @return void
76 */
77 public function deleteSubscriber($email)
78 {
79 }
80 }
81