Conditions | 1 |
Paths | 1 |
Total Lines | 16 |
Code Lines | 9 |
Lines | 0 |
Ratio | 0 % |
Tests | 12 |
CRAP Score | 1 |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
13 | 5 | protected function configure() |
|
14 | { |
||
15 | // Class annotated with @Sessional |
||
16 | 5 | $this->bindInterceptor( |
|
17 | 5 | $this->matcher->annotatedWith(Sessional::class), |
|
18 | 5 | $this->matcher->any(), |
|
19 | 5 | [SessionalInterceptor::class] |
|
20 | 5 | ); |
|
21 | |||
22 | // Method annotated with @Sessional |
||
23 | 5 | $this->bindInterceptor( |
|
24 | 5 | $this->matcher->any(), |
|
25 | 5 | $this->matcher->annotatedWith(Sessional::class), |
|
26 | 5 | [SessionalInterceptor::class] |
|
27 | 5 | ); |
|
28 | 5 | } |
|
29 | } |
||
30 |