Total Complexity | 4 |
Total Lines | 38 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
7 | class CreditWorkLog extends \roaresearch\yii2\workflow\models\WorkLog |
||
8 | { |
||
9 | /** |
||
10 | * @inheritdoc |
||
11 | */ public static function tableName() |
||
12 | { |
||
13 | return '{{%credit_worklog}}'; |
||
14 | } |
||
15 | |||
16 | /** |
||
17 | * @inheritdoc |
||
18 | */ |
||
19 | protected function processClass(): string |
||
20 | { |
||
21 | return Credit::class; |
||
22 | } |
||
23 | |||
24 | /** |
||
25 | * @inheritdoc |
||
26 | */ |
||
27 | public function rules() |
||
45 | ], |
||
46 | ]); |
||
47 | } |
||
49 |