1 | <?php |
||
9 | abstract class BasicTerminalObject implements BasicTerminalObjectInterface |
||
10 | { |
||
11 | use SettingsImporter, ParserImporter, UtilImporter; |
||
12 | |||
13 | /** |
||
14 | * Set the property if there is a valid value |
||
15 | * |
||
16 | * @param string $key |
||
17 | * @param string $value |
||
18 | */ |
||
19 | 96 | protected function set($key, $value) |
|
25 | |||
26 | /** |
||
27 | * Get the parser for the current object |
||
28 | * |
||
29 | * @return \League\CLImate\Decorator\Parser\Parser |
||
30 | */ |
||
31 | 356 | public function getParser() |
|
35 | |||
36 | /** |
||
37 | * Check if this object requires a new line to be added after the output |
||
38 | * |
||
39 | * @return boolean |
||
40 | */ |
||
41 | 336 | public function sameLine() |
|
45 | } |
||
46 |