Total Complexity | 3 |
Total Lines | 36 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
17 | abstract class Language extends DActiveRecord |
||
18 | { |
||
19 | /** |
||
20 | * {@inheritdoc} |
||
21 | */ |
||
22 | public function rules() |
||
28 | ]; |
||
29 | } |
||
30 | |||
31 | /** |
||
32 | * {@inheritdoc} |
||
33 | */ |
||
34 | public static function tableName() |
||
37 | } |
||
38 | |||
39 | /** |
||
40 | * {@inheritdoc} |
||
41 | */ |
||
42 | public static function primaryKey() |
||
45 | } |
||
46 | |||
47 | |||
48 | /** |
||
49 | * @param string $code |
||
50 | * @return static |
||
51 | */ |
||
52 | public abstract function findByCode($code); |
||
53 | } |
||
54 |