ILIAS  release_9 Revision v9.13-25-g2c18ec4c24f
class.ilXmlSchemaInfo.php
Go to the documentation of this file.
1 <?php
2 
19 declare(strict_types=1);
20 
21 namespace ILIAS\Export\Schema;
22 
25 
27 {
28  private Version $version;
29 
30  private string $component;
31 
32  private string $sub_type;
33 
34  private SplFileInfo $file;
35 
36  public function __construct(SplFileInfo $file, string $component, string $sub_type, Version $version)
37  {
38  $this->file = $file;
39  $this->component = $component;
40  $this->sub_type = $sub_type;
41  $this->version = $version;
42  }
43 
44  public function getFile(): SplFileInfo
45  {
46  return $this->file;
47  }
48 
49  public function getComponent(): string
50  {
51  return $this->component;
52  }
53 
54  public function getSubtype(): string
55  {
56  return $this->sub_type;
57  }
58 
59  public function getVersion(): Version
60  {
61  return $this->version;
62  }
63 }
__construct(SplFileInfo $file, string $component, string $sub_type, Version $version)
A version number that consists of three numbers (major, minor, patch).
Definition: Version.php:26