Total Complexity | 2 |
Total Lines | 22 |
Duplicated Lines | 0 % |
Changes | 2 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
27 | class Provider extends ActiveRecord |
||
28 | { |
||
29 | use SoftDeleteTrait; |
||
30 | |||
31 | /** |
||
32 | * @inheritdoc |
||
33 | * |
||
34 | * @return string |
||
35 | */ |
||
36 | public static function tableName(): string |
||
37 | { |
||
38 | return '{{%enupalsocializer_providers}}'; |
||
39 | } |
||
40 | |||
41 | /** |
||
42 | * Returns the entry’s element. |
||
43 | * |
||
44 | * @return ActiveQueryInterface The relational query object. |
||
45 | */ |
||
46 | public function getElement(): ActiveQueryInterface |
||
49 | } |
||
50 | } |