Total Lines | 33 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
34 | interface Information |
||
|
|||
35 | { |
||
36 | const INFORMATION_TYPE_ASK = 1; |
||
37 | const INFORMATION_TYPE_SELECT = 2; |
||
38 | const INFORMATION_TYPE_SELECTMULTIPLE = 3; |
||
39 | |||
40 | /** |
||
41 | * @param array $params |
||
42 | * @return string |
||
43 | */ |
||
44 | public function getQuestion($params = []); |
||
45 | |||
46 | /** |
||
47 | * @return mixed |
||
48 | */ |
||
49 | public function getDefaultValue(); |
||
50 | |||
51 | /** |
||
52 | * @param $defaultValue |
||
53 | * @return void |
||
54 | */ |
||
55 | public function setDefaultValue($defaultValue); |
||
56 | |||
57 | /** |
||
58 | * @return array |
||
59 | */ |
||
60 | public function getChoices(); |
||
61 | |||
62 | /** |
||
63 | * @return int |
||
64 | */ |
||
65 | public function getType(); |
||
66 | } |
||
67 |
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.