| @@ 64-71 (lines=8) @@ | ||
| 61 | * @param string |
|
| 62 | * @return mixed |
|
| 63 | */ |
|
| 64 | public function name(string $value = null) |
|
| 65 | { |
|
| 66 | if (null === $value) { |
|
| 67 | return $this->name; |
|
| 68 | } |
|
| 69 | $this->name = $value; |
|
| 70 | return $this; |
|
| 71 | } |
|
| 72 | ||
| 73 | /** |
|
| 74 | * version getter and setter. |
|
| @@ 94-101 (lines=8) @@ | ||
| 91 | * @param string |
|
| 92 | * @return mixed |
|
| 93 | */ |
|
| 94 | public function description(string $value = null) |
|
| 95 | { |
|
| 96 | if (null === $value) { |
|
| 97 | return $this->description; |
|
| 98 | } |
|
| 99 | $this->description = $value; |
|
| 100 | return $this; |
|
| 101 | } |
|
| 102 | ||
| 103 | /** |
|
| 104 | * descriptions getter and setter. |
|
| @@ 256-263 (lines=8) @@ | ||
| 253 | * @param callable |
|
| 254 | * @return mixed |
|
| 255 | */ |
|
| 256 | public function action(callable $value = null) |
|
| 257 | { |
|
| 258 | if (null === $value) { |
|
| 259 | return $this->action; |
|
| 260 | } |
|
| 261 | $this->action = $value; |
|
| 262 | return $this; |
|
| 263 | } |
|
| 264 | ||
| 265 | /** |
|
| 266 | * commands getter and setter. |
|