Conditions | 2 |
Paths | 2 |
Total Lines | 13 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
38 | public function configure(Pomm $pomm) |
||
39 | { |
||
40 | $callable = [$this->datacollector, 'execute']; |
||
41 | |||
42 | foreach ($pomm->getSessionBuilders() as $name => $builder) { |
||
43 | $pomm->addPostConfiguration($name, function ($session) use ($callable) { |
||
44 | $session |
||
45 | ->getClientUsingPooler('listener', 'query') |
||
46 | ->attachAction($callable) |
||
47 | ; |
||
48 | }); |
||
49 | } |
||
50 | } |
||
51 | } |
||
52 |