| @@ 67-74 (lines=8) @@ | ||
| 64 | * @param string |
|
| 65 | * @return mixed |
|
| 66 | */ |
|
| 67 | public function name(string $value = null) |
|
| 68 | { |
|
| 69 | if (null === $value) { |
|
| 70 | return $this->name; |
|
| 71 | } |
|
| 72 | $this->name = $value; |
|
| 73 | return $this; |
|
| 74 | } |
|
| 75 | ||
| 76 | /** |
|
| 77 | * version getter and setter. |
|
| @@ 97-104 (lines=8) @@ | ||
| 94 | * @param string |
|
| 95 | * @return mixed |
|
| 96 | */ |
|
| 97 | public function description(string $value = null) |
|
| 98 | { |
|
| 99 | if (null === $value) { |
|
| 100 | return $this->description; |
|
| 101 | } |
|
| 102 | $this->description = $value; |
|
| 103 | return $this; |
|
| 104 | } |
|
| 105 | ||
| 106 | /** |
|
| 107 | * descriptions getter and setter. |
|
| @@ 276-283 (lines=8) @@ | ||
| 273 | * @param callable |
|
| 274 | * @return mixed |
|
| 275 | */ |
|
| 276 | public function action(callable $value = null) |
|
| 277 | { |
|
| 278 | if (null === $value) { |
|
| 279 | return $this->action; |
|
| 280 | } |
|
| 281 | $this->action = $value; |
|
| 282 | return $this; |
|
| 283 | } |
|
| 284 | ||
| 285 | /** |
|
| 286 | * commands getter and setter. |
|