Search moodle.org's
Developer Documentation

See Release Notes

  • Bug fixes for general core bugs in 4.0.x will end 8 May 2023 (12 months).
  • Bug fixes for security issues in 4.0.x will end 13 November 2023 (18 months).
  • PHP version: minimum PHP 7.3.0 Note: the minimum PHP version has increased since Moodle 3.10. PHP 7.4.x is also supported.

(no description)

File Size: 105 lines (4 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class


Class: ManagerFactory  - X-Ref

Class ManagerFactory
Factory to create managers

__construct(HelperFactory $helperFactory, CachingStrategyFactory $cachingStrategyFactory)   X-Ref

param: HelperFactory $helperFactory Factory to create helpers
param: CachingStrategyFactory $cachingStrategyFactory Factory to create shared strings caching strategies

createSharedStringsManager($filePath, $tempFolder, $entityFactory)   X-Ref

return: SharedStringsManager
param: string $filePath Path of the XLSX file being read
param: string $tempFolder Temporary folder where the temporary files to store shared strings will be stored
param: InternalEntityFactory $entityFactory Factory to create entities

createWorkbookRelationshipsManager($filePath, $entityFactory)   X-Ref

return: WorkbookRelationshipsManager
param: string $filePath Path of the XLSX file being read
param: InternalEntityFactory $entityFactory Factory to create entities

createSheetManager($filePath, $optionsManager, $sharedStringsManager, $entityFactory)   X-Ref

return: SheetManager
param: string $filePath Path of the XLSX file being read
param: \Box\Spout\Common\Manager\OptionsManagerInterface $optionsManager Reader's options manager
param: \Box\Spout\Reader\XLSX\Manager\SharedStringsManager $sharedStringsManager Manages shared strings
param: InternalEntityFactory $entityFactory Factory to create entities

createStyleManager($filePath, $entityFactory)   X-Ref

return: StyleManager
param: string $filePath Path of the XLSX file being read
param: InternalEntityFactory $entityFactory Factory to create entities

createRowManager($entityFactory)   X-Ref

return: RowManager
param: InternalEntityFactory $entityFactory Factory to create entities