| Conditions | 2 |
| Paths | 2 |
| Total Lines | 8 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 4 |
| CRAP Score | 2 |
| Changes | 0 | ||
| 1 | <?php namespace Indatus\Dispatcher; |
||
| 49 | 4 | public function resolveServiceClass() |
|
| 50 | { |
||
| 51 | try { |
||
| 52 | 4 | return $this->container->make($this->getDriver().'\\ScheduleService'); |
|
| 53 | 4 | } catch (ReflectionException $e) { |
|
| 54 | 4 | return $this->container->make('Indatus\Dispatcher\Drivers\\'.$this->getDriver().'\\ScheduleService'); |
|
| 55 | } |
||
| 56 | } |
||
| 57 | |||
| 68 |