| Conditions | 2 |
| Paths | 2 |
| Total Lines | 12 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 33 | public function register(): void |
||
| 34 | { |
||
| 35 | $manager = new IntentManager(); |
||
| 36 | |||
| 37 | foreach ($this->intents as $intent) { |
||
| 38 | $manager->add($this->getContainer()->get($intent)); |
||
| 39 | } |
||
| 40 | |||
| 41 | $manager->setFallbackIntent($this->getContainer()->get($this->fallbackIntent)); |
||
| 42 | |||
| 43 | $this->getContainer()->add(IntentManager::class, $manager); |
||
| 44 | } |
||
| 45 | } |
||
| 46 |