1 | <?php |
||
25 | class ObjectAssociation extends IntegrationAssociation |
||
26 | { |
||
27 | /** |
||
28 | * The table alias |
||
29 | */ |
||
30 | const TABLE_ALIAS = 'hubspot_objects'; |
||
31 | |||
32 | /** |
||
33 | * @inheritdoc |
||
34 | * @throws \Throwable |
||
35 | */ |
||
36 | public function __construct(array $config = []) |
||
41 | |||
42 | |||
43 | /** |
||
44 | * @throws \Throwable |
||
45 | */ |
||
46 | public function ensureTableExists() |
||
56 | |||
57 | /** |
||
58 | * @return bool |
||
59 | * @throws \Throwable |
||
60 | */ |
||
61 | private function createTable(): bool |
||
69 | |||
70 | /** |
||
71 | * {@inheritdoc} |
||
72 | */ |
||
73 | public static function tableAlias() |
||
77 | |||
78 | /** |
||
79 | * @return ResponseInterface |
||
80 | */ |
||
81 | public function getObject(): ResponseInterface |
||
95 | } |
||
96 |