| Conditions | 1 |
| Paths | 1 |
| Total Lines | 10 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 7 |
| CRAP Score | 1 |
| Changes | 1 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 17 | 2 | public function registerAuthorizationServer() |
|
| 18 | { |
||
| 19 | 2 | $this->registerCryptKeys(); |
|
| 20 | |||
| 21 | 2 | $this->getContainer()->alias('hello.server', AuthorizationServer::class); |
|
|
|
|||
| 22 | |||
| 23 | 2 | $this->getContainer()->share('hello.server', function () { |
|
| 24 | 2 | $server = $this->createAuthorizationServer(); |
|
| 25 | 2 | $this->registerGrants($server); |
|
| 26 | 2 | return $server; |
|
| 27 | 2 | }); |
|
| 46 |