| 1 | <?php |
||
| 11 | class IntentServiceProvider extends AbstractServiceProvider |
||
| 12 | { |
||
| 13 | protected $provides = [ |
||
| 14 | IntentManager::class, |
||
| 15 | ]; |
||
| 16 | |||
| 17 | private $intents; |
||
| 18 | private $fallbackIntent; |
||
| 19 | |||
| 20 | public function __construct(array $intents, string $fallbackIntent = FallbackIntent::class) |
||
| 25 | |||
| 26 | /** |
||
| 27 | * Use the register method to register items with the container via the |
||
| 28 | * protected $this->container property or the `getContainer` method |
||
| 29 | * from the ContainerAwareTrait. |
||
| 30 | * |
||
| 31 | * @return void |
||
| 32 | */ |
||
| 33 | public function register(): void |
||
| 45 | } |
||
| 46 |