| Conditions | 1 |
| Paths | 1 |
| Total Lines | 11 |
| Code Lines | 8 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 9 |
| CRAP Score | 1 |
| Changes | 0 | ||
| 1 | <?php |
||
| 39 | 4 | protected function configure() |
|
| 40 | { |
||
| 41 | 4 | $this->bind(AclInterface::class)->toInstance($this->acl); |
|
| 42 | 4 | $this->bind(RoleProviderInterface::class)->to(FakeRoleProvider::class); |
|
| 43 | 4 | $this->bind()->annotatedWith('resources')->toInstance($this->resources); |
|
| 44 | 4 | $this->bindInterceptor( |
|
| 45 | 4 | $this->matcher->subclassesOf(ResourceObject::class), |
|
| 46 | 4 | $this->matcher->startsWith('onGet'), |
|
| 47 | 4 | [AclEmbedInterceptor::class] |
|
| 48 | ); |
||
| 49 | 4 | } |
|
| 50 | } |
||
| 51 |