| Conditions | 1 |
| Paths | 1 |
| Total Lines | 9 |
| Code Lines | 4 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 0 |
| CRAP Score | 2 |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 48 | public function register() |
||
| 49 | { |
||
| 50 | $this->mergeConfigFrom(static::CONFIG, 'console_tasker'); |
||
| 51 | |||
| 52 | $this->app->bind(DefaultPrinter::class, function () { |
||
| 53 | return new DefaultPrinter(new OutputStyle(new ArgvInput(), new ConsoleOutput())); |
||
| 54 | }); |
||
| 55 | |||
| 56 | $this->app->bind(PrinterInterface::class, Config::get('console_tasker.printer')); |
||
| 57 | } |
||
| 59 |