| @@ -4,7 +4,6 @@ | ||
| 4 | 4 | use izzum\statemachine\StateMachine; | 
| 5 | 5 | use izzum\statemachine\Identifier; | 
| 6 | 6 | use izzum\statemachine\loader\LoaderArray; | 
| 7 | -use izzum\statemachine\loader\LoaderData; | |
| 8 | 7 | use izzum\statemachine\Exception; | 
| 9 | 8 | use izzum\statemachine\Transition; | 
| 10 | 9 | use izzum\statemachine\State; | 
| @@ -3,7 +3,6 @@ | ||
| 3 | 3 | use izzum\command\ICommand; | 
| 4 | 4 | use izzum\command\Null; | 
| 5 | 5 | use izzum\statemachine\Exception; | 
| 6 | -use izzum\command\Composite; | |
| 7 | 6 | use izzum\statemachine\utils\Utils; | 
| 8 | 7 | |
| 9 | 8 | /** | 
| @@ -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 |      { | 
| @@ -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()) { | 
| @@ -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); |