您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

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. }