| Total Complexity | 4 |
| Total Lines | 40 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 9 | class Drip extends ClientManager |
||
| 10 | { |
||
| 11 | /** @var string */ |
||
| 12 | protected $accountId; |
||
| 13 | |||
| 14 | /** |
||
| 15 | * Drip constructor. |
||
| 16 | * |
||
| 17 | * @param string $accountId |
||
| 18 | * @param string $apiToken |
||
| 19 | * @param string $userAgent |
||
| 20 | */ |
||
| 21 | public function __construct(string $accountId, string $apiToken, string $userAgent) |
||
| 22 | { |
||
| 23 | parent::__construct($apiToken, $userAgent); |
||
| 24 | $this->accountId = $accountId; |
||
| 25 | } |
||
| 26 | |||
| 27 | /** |
||
| 28 | * @return Events |
||
| 29 | */ |
||
| 30 | public function events(): Events |
||
| 33 | } |
||
| 34 | |||
| 35 | /** |
||
| 36 | * @return Subscribers |
||
| 37 | */ |
||
| 38 | public function subscribers(): Subscribers |
||
| 41 | } |
||
| 42 | |||
| 43 | /** |
||
| 44 | * @return Accounts |
||
| 45 | */ |
||
| 46 | public function accounts(): Accounts |
||
| 49 | } |
||
| 50 | } |
||
| 51 |