Conditions | 1 |
Paths | 1 |
Total Lines | 20 |
Code Lines | 11 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 1 |
1 | <?php |
||
9 | public function __construct(array $values = array()) |
||
10 | { |
||
11 | parent::__construct($values); |
||
12 | |||
13 | $this->register(new \Eole\Sandstone\Serializer\ServiceProvider()); |
||
14 | |||
15 | $this->register(new \Eole\Sandstone\Websocket\ServiceProvider(), [ |
||
16 | 'sandstone.websocket.server' => [ |
||
17 | 'bind' => '0.0.0.0', |
||
18 | 'port' => '8080', |
||
19 | ], |
||
20 | ]); |
||
21 | |||
22 | $this['serializer.builder']->addMetadataDir( |
||
23 | __DIR__, |
||
24 | 'Eole\\Sandstone\\Tests\\App' |
||
25 | ); |
||
26 | |||
27 | $this->register(new \Eole\Sandstone\Push\ServiceProvider()); |
||
28 | } |
||
29 | } |
||
30 |