| Conditions | 2 | 
| Paths | 2 | 
| Total Lines | 11 | 
| Code Lines | 6 | 
| Lines | 0 | 
| Ratio | 0 % | 
| Changes | 1 | ||
| Bugs | 0 | Features | 0 | 
| 1 | <?php | ||
| 52 | public function addHandler($commandClassName, $handlerClassName) | ||
| 53 |     { | ||
| 54 |         if (! class_exists($handlerClassName)) { | ||
| 55 | throw new \InvalidArgumentException(sprintf( | ||
| 56 | 'Handler class %s not found', | ||
| 57 | $handlerClassName | ||
| 58 | )); | ||
| 59 | } | ||
| 60 | |||
| 61 | $this->app['tactician.handler_map'][$commandClassName] = $handlerClassName; | ||
| 62 | } | ||
| 63 | } | ||
| 64 |