| Total Complexity | 2 |
| Total Lines | 25 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 17 | abstract class AbstractCommand extends AbstractEntityEvent implements CommandInterface |
||
| 18 | { |
||
| 19 | /** |
||
| 20 | * @var string |
||
| 21 | */ |
||
| 22 | protected $args = ''; |
||
| 23 | |||
| 24 | /** |
||
| 25 | * Sets argument string for the command |
||
| 26 | * |
||
| 27 | * @param string $args Arguments string |
||
| 28 | */ |
||
| 29 | public function setArgs(string $args) |
||
| 30 | { |
||
| 31 | $this->args = $args; |
||
| 32 | } |
||
| 33 | |||
| 34 | /** |
||
| 35 | * Returns arguments string for the command |
||
| 36 | * |
||
| 37 | * @return string |
||
| 38 | */ |
||
| 39 | public function getArgs(): string |
||
| 42 | } |
||
| 43 | } |
||
| 44 |