| Conditions | 1 |
| Paths | 1 |
| Total Lines | 10 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 2 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 26 | public function register() |
||
| 27 | { |
||
| 28 | $this->app->bind('jpmurray.countdown', function ($app) { |
||
| 29 | $carbon = new Carbon; |
||
| 30 | $timezone = $app->config->get('app.timezone'); |
||
| 31 | |||
| 32 | return new Countdown($timezone, $carbon); |
||
| 33 | }); |
||
| 34 | |||
| 35 | $this->app->alias('jpmurray.countdown', Countdown::class); |
||
| 36 | } |
||
| 38 |