| Conditions | 1 |
| Paths | 1 |
| Total Lines | 10 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 0 |
| CRAP Score | 2 |
| Changes | 2 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 39 | protected function registerClient() |
||
| 40 | { |
||
| 41 | $this->app->singleton('agent.client', function ($app) { |
||
| 42 | return (new Client)->setAgent($app->make('agent')); |
||
| 43 | }); |
||
| 44 | |||
| 45 | $this->app->alias('agent.client', Client::class); |
||
| 46 | |||
| 47 | $this->aliasFacade('AgentClient', Facades\AgentClient::class); |
||
| 48 | } |
||
| 49 | |||
| 66 |