1 | <?php |
||
27 | abstract class IntegrationConnection extends ActiveRecordWithId implements ConnectionInterface |
||
28 | { |
||
29 | use HandleRulesTrait; |
||
30 | |||
31 | /** |
||
32 | * @inheritdoc |
||
33 | */ |
||
34 | public function init() |
||
41 | |||
42 | /** |
||
43 | * @noinspection PhpDocMissingThrowsInspection |
||
44 | * @return IntegrationConnectionQuery |
||
45 | */ |
||
46 | public static function find(): IntegrationConnectionQuery |
||
52 | |||
53 | /** |
||
54 | * @inheritdoc |
||
55 | */ |
||
56 | public function rules() |
||
87 | |||
88 | /** |
||
89 | * @inheritdoc |
||
90 | */ |
||
91 | public static function instantiate($row) |
||
96 | |||
97 | /** |
||
98 | * @inheritdoc |
||
99 | */ |
||
100 | protected static function findByCondition($condition) |
||
109 | |||
110 | /** |
||
111 | * @param bool $insert |
||
112 | * @param array $changedAttributes |
||
113 | */ |
||
114 | public function afterSave($insert, $changedAttributes) |
||
119 | |||
120 | /** |
||
121 | * @param static $record |
||
122 | * @param $row |
||
123 | */ |
||
124 | public static function populateRecord($record, $row) |
||
129 | |||
130 | /** |
||
131 | * |
||
132 | */ |
||
133 | protected function ensureSettings() |
||
144 | } |
||
145 |