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; |
||
35 | 7 | public function resolveSchedulerClass() |
|
36 | { |
||
37 | try { |
||
38 | 7 | return $this->container->make($this->getDriver().'\\Scheduler', [$this]); |
|
39 | 7 | } catch (ReflectionException $e) { |
|
40 | 7 | return $this->container->make('Indatus\Dispatcher\Drivers\\'.$this->getDriver().'\\Scheduler', [$this]); |
|
41 | } |
||
42 | } |
||
43 | |||
68 |