@@ -261,6 +261,9 @@ |
||
261 | 261 | $this->cache = null; |
262 | 262 | } |
263 | 263 | |
264 | + /** |
|
265 | + * @param boolean $result |
|
266 | + */ |
|
264 | 267 | private function setCache($result) |
265 | 268 | { |
266 | 269 | if ($this->getCacheEnabled()) { |
@@ -337,7 +337,7 @@ |
||
337 | 337 | * run from ('state from'). |
338 | 338 | * |
339 | 339 | * @param Transition $transition |
340 | - * @return boolan yes in case the transition was not on the State already or in case of an invalid transition |
|
340 | + * @return boolean yes in case the transition was not on the State already or in case of an invalid transition |
|
341 | 341 | */ |
342 | 342 | public function addTransition(Transition $transition) |
343 | 343 | { |
@@ -356,6 +356,9 @@ discard block |
||
356 | 356 | return $this->command; |
357 | 357 | } |
358 | 358 | |
359 | + /** |
|
360 | + * @param string $command |
|
361 | + */ |
|
359 | 362 | public function setCommandName($command) |
360 | 363 | { |
361 | 364 | $this->command = trim($command); |
@@ -367,6 +370,9 @@ discard block |
||
367 | 370 | return $this->rule; |
368 | 371 | } |
369 | 372 | |
373 | + /** |
|
374 | + * @param string $rule |
|
375 | + */ |
|
370 | 376 | public function setRuleName($rule) |
371 | 377 | { |
372 | 378 | $this->rule = trim($rule); |