You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

UnitModule.php 467B

1234567891011121314151617181920212223242526
  1. <?php
  2. namespace domain\Config\Unit;
  3. use domain\_\AbstractModule;
  4. class UnitModule extends AbstractModule
  5. {
  6. public function getServices(): array
  7. {
  8. return [
  9. UnitDefinition::class,
  10. UnitSolver::class
  11. ];
  12. }
  13. public function getDefinition(): UnitDefinition
  14. {
  15. return UnitDefinition::getInstance();
  16. }
  17. public function getSolver(): UnitSolver
  18. {
  19. return UnitSolver::getInstance();
  20. }
  21. }