ILIAS  release_9 Revision v9.13-25-g2c18ec4c24f
class.ilFactory.php
Go to the documentation of this file.
1 <?php
2 
19 declare(strict_types=1);
20 
22 
23 use ilLogger;
24 use ILIAS\Export\ImportHandler\File\XML\Node\Info\ilFactory as ilXMLFileNodeInfoFactory;
25 use ILIAS\Export\ImportHandler\I\File\XML\ilHandlerInterface as ilXMLFileHandlerInterface;
26 use ILIAS\Export\ImportHandler\I\Parser\DOM\ilFactoryInterface as ilDOMParserFactoryInterface;
27 use ILIAS\Export\ImportHandler\I\Parser\ilFactoryInterface as ilParserFactoryInterface;
28 use ILIAS\Export\ImportHandler\I\Parser\ilHandlerInterface as ilParserHandlerInterface;
29 use ILIAS\Export\ImportHandler\Parser\DOM\ilFactory as ilDOMParserFactory;
30 
31 class ilFactory implements ilParserFactoryInterface
32 {
33  protected ilLogger $logger;
34 
35  public function __construct(ilLogger $logger)
36  {
37  $this->logger = $logger;
38  }
39 
40  public function DOM(): ilDOMParserFactoryInterface
41  {
42  return new ilDOMParserFactory($this->logger);
43  }
44 }