1 | <?php |
||
24 | class Connections extends IntegrationConnections |
||
25 | { |
||
26 | /** |
||
27 | * The integration connection handle |
||
28 | */ |
||
29 | const INTEGRATION_CONNECTION = 'token'; |
||
30 | |||
31 | /** |
||
32 | * The default connection identifier |
||
33 | */ |
||
34 | const DEFAULT_INTEGRATION_CONNECTION = 'DEFAULT_INTEGRATION'; |
||
35 | |||
36 | /** |
||
37 | * The override file |
||
38 | */ |
||
39 | public $overrideFile = 'hubspot-connections'; |
||
40 | |||
41 | /** |
||
42 | * @inheritdoc |
||
43 | */ |
||
44 | protected static function tableName(): string |
||
48 | |||
49 | /** |
||
50 | * @inheritdoc |
||
51 | */ |
||
52 | protected static function connectionInstance(): string |
||
56 | |||
57 | /** |
||
58 | * @inheritdoc |
||
59 | */ |
||
60 | protected function getDefaultConnection(): string |
||
64 | |||
65 | /** |
||
66 | * @param string $handle |
||
67 | * @param bool $enabledOnly |
||
68 | * @return IntegrationConnectionInterface|null |
||
69 | */ |
||
70 | public function findIntegration( |
||
86 | |||
87 | /** |
||
88 | * @param string $handle |
||
89 | * @param bool $enabledOnly |
||
90 | * @return IntegrationConnectionInterface |
||
91 | * @throws ConnectionNotFound |
||
92 | */ |
||
93 | public function getIntegration( |
||
103 | |||
104 | /** |
||
105 | * @var ConnectionInterface[] |
||
106 | */ |
||
107 | private $types; |
||
108 | |||
109 | /** |
||
110 | * @return ConnectionInterface[] |
||
111 | */ |
||
112 | public function getTypes(): array |
||
131 | } |
||
132 |