Total Complexity | 4 |
Total Lines | 39 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
13 | abstract class base implements tool_interface |
||
14 | { |
||
15 | /** @var string Name of tool */ |
||
16 | protected $name; |
||
17 | |||
18 | /** @var string The text to parse */ |
||
19 | protected $text; |
||
20 | |||
21 | /** |
||
22 | * @inheritdoc |
||
23 | */ |
||
24 | 38 | public function is_available() |
|
25 | { |
||
26 | 38 | return true; |
|
27 | } |
||
28 | |||
29 | /** |
||
30 | * @inheritdoc |
||
31 | */ |
||
32 | 28 | public function set_text($text) |
|
36 | } |
||
37 | |||
38 | /** |
||
39 | * @inheritdoc |
||
40 | */ |
||
41 | 43 | public function get_name() |
|
42 | { |
||
43 | 43 | return $this->name; |
|
44 | } |
||
45 | |||
46 | /** |
||
47 | * @inheritdoc |
||
48 | */ |
||
49 | 43 | public function set_name($name) |
|
52 | 43 | } |
|
53 | } |
||
54 |