| Conditions | 1 |
| Paths | 1 |
| Total Lines | 8 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 14 | public function register(DiInterface $container) |
||
| 15 | {
|
||
| 16 | $config = $container->getShared('config');
|
||
| 17 | |||
| 18 | $container->setShared( |
||
| 19 | 'pusher', |
||
| 20 | function () use ($config) {
|
||
| 21 | return new Pusher($config->pusher->key, $config->pusher->secret, $config->pusher->id, ['cluster' => $config->pusher->cluster, 'useTLS' => true]); |
||
| 22 | } |
||
| 26 |