Total Complexity | 6 |
Total Lines | 93 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 2 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
11 | class Parser |
||
12 | { |
||
13 | /** |
||
14 | * @var string |
||
15 | */ |
||
16 | protected $column = ''; |
||
17 | |||
18 | /** |
||
19 | * @var string |
||
20 | */ |
||
21 | protected $command = ''; |
||
22 | |||
23 | /** |
||
24 | * @var string |
||
25 | */ |
||
26 | protected $table = ''; |
||
27 | |||
28 | /** |
||
29 | * Initializes the parser instance. |
||
30 | * |
||
31 | * @param string $name |
||
32 | */ |
||
33 | 48 | public function __construct($name) |
|
54 | 4 | } |
|
55 | 48 | } |
|
56 | |||
57 | /** |
||
58 | * Returns an array of commands. |
||
59 | * |
||
60 | * @return string[] |
||
61 | */ |
||
62 | 48 | public function commands() |
|
74 | } |
||
75 | |||
76 | /** |
||
77 | * Returns the command. |
||
78 | * |
||
79 | * @return string |
||
80 | */ |
||
81 | 30 | public function command() |
|
84 | } |
||
85 | |||
86 | /** |
||
87 | * Returns the column. |
||
88 | * |
||
89 | * @return string |
||
90 | */ |
||
91 | 39 | public function column() |
|
94 | } |
||
95 | |||
96 | /** |
||
97 | * Returns the table. |
||
98 | * |
||
99 | * @return string |
||
100 | */ |
||
101 | 39 | public function table() |
|
106 |