| Conditions | 2 |
| Paths | 2 |
| Total Lines | 6 |
| Code Lines | 4 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 28 | protected function bindMacroService(): void |
||
| 29 | { |
||
| 30 | if (class_exists(SimpleService::class)) { |
||
| 31 | SimpleService::macro('queryAttribute', function (SimpleService $service, array $parameters) { |
||
| 32 | $attributeService = new DynamicAttributeService; |
||
| 33 | return $attributeService->queryAttribute($service,$parameters); |
||
| 34 | }); |
||
| 60 |