| 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 | public function is_available() |
||
| 28 | |||
| 29 | /** |
||
| 30 | * @inheritdoc |
||
| 31 | */ |
||
| 32 | public function set_text($text) |
||
| 37 | |||
| 38 | /** |
||
| 39 | * @inheritdoc |
||
| 40 | */ |
||
| 41 | public function get_name() |
||
| 45 | |||
| 46 | /** |
||
| 47 | * @inheritdoc |
||
| 48 | */ |
||
| 49 | public function set_name($name) |
||
| 53 | } |
||
| 54 |