1 | <?php |
||
22 | class Connections extends IntegrationConnections |
||
23 | { |
||
24 | /** |
||
25 | * The integration connection handle |
||
26 | */ |
||
27 | const INTEGRATION_CONNECTION = 'token'; |
||
28 | |||
29 | /** |
||
30 | * The default connection identifier |
||
31 | */ |
||
32 | const DEFAULT_INTEGRATION_CONNECTION = 'DEFAULT_INTEGRATION'; |
||
33 | |||
34 | /** |
||
35 | * The override file |
||
36 | */ |
||
37 | public $overrideFile = 'hubspot-connections'; |
||
38 | |||
39 | /** |
||
40 | * @inheritdoc |
||
41 | */ |
||
42 | protected static function tableName(): string |
||
46 | |||
47 | /** |
||
48 | * @inheritdoc |
||
49 | */ |
||
50 | protected static function connectionInstance(): string |
||
54 | |||
55 | /** |
||
56 | * @inheritdoc |
||
57 | */ |
||
58 | protected function getDefaultConnection(): string |
||
62 | |||
63 | /** |
||
64 | * @param string $handle |
||
65 | * @param bool $enabledOnly |
||
66 | * @return IntegrationConnectionInterface|null |
||
67 | */ |
||
68 | public function findIntegration( |
||
84 | |||
85 | /** |
||
86 | * @param string $handle |
||
87 | * @param bool $enabledOnly |
||
88 | * @return IntegrationConnectionInterface |
||
89 | * @throws ConnectionNotFound |
||
90 | */ |
||
91 | public function getIntegration( |
||
101 | } |
||
102 |