1 | <?php |
||
9 | class UserRoles extends AbstractModel |
||
10 | { |
||
11 | /** |
||
12 | * |
||
13 | * @var integer |
||
14 | */ |
||
15 | public $users_id; |
||
|
|||
16 | |||
17 | /** |
||
18 | * |
||
19 | * @var integer |
||
20 | */ |
||
21 | public $apps_id; |
||
22 | |||
23 | /** |
||
24 | * |
||
25 | * @var integer |
||
26 | */ |
||
27 | public $roles_id; |
||
28 | |||
29 | /** |
||
30 | * |
||
31 | * @var integer |
||
32 | */ |
||
33 | public $companies_id; |
||
34 | |||
35 | /** |
||
36 | * |
||
37 | * @var string |
||
38 | */ |
||
39 | public $created_at; |
||
40 | |||
41 | /** |
||
42 | * |
||
43 | * @var string |
||
44 | */ |
||
45 | public $updated_at; |
||
46 | |||
47 | /** |
||
48 | * |
||
49 | * @var integer |
||
50 | */ |
||
51 | public $is_deleted; |
||
52 | |||
53 | /** |
||
54 | * Initialize method for model. |
||
55 | */ |
||
56 | public function initialize() |
||
88 | |||
89 | /** |
||
90 | * Returns table name mapped in the model. |
||
91 | * |
||
92 | * @return string |
||
93 | */ |
||
94 | public function getSource(): string |
||
98 | |||
99 | /** |
||
100 | * Validations and business logic. |
||
101 | */ |
||
102 | public function validation() |
||
117 | } |
||
118 |
This check examines a number of code elements and verifies that they conform to the given naming conventions.
You can set conventions for local variables, abstract classes, utility classes, constant, properties, methods, parameters, interfaces, classes, exceptions and special methods.