We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
| Total Complexity | 10 |
| Total Lines | 101 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 15 | class MetadataFormat extends \TYPO3\CMS\Extbase\DomainObject\AbstractValueObject |
||
| 16 | { |
||
| 17 | /** |
||
| 18 | * @var int |
||
| 19 | */ |
||
| 20 | protected $parent_id; |
||
| 21 | /** |
||
| 22 | * @var int |
||
| 23 | */ |
||
| 24 | protected $encoded; |
||
| 25 | /** |
||
| 26 | * @var string |
||
| 27 | */ |
||
| 28 | protected $xpath; |
||
| 29 | /** |
||
| 30 | * @var string |
||
| 31 | */ |
||
| 32 | protected $xpath_sorting; |
||
| 33 | /** |
||
| 34 | * @var int |
||
| 35 | */ |
||
| 36 | protected $mandatory; |
||
| 37 | |||
| 38 | /** |
||
| 39 | * @return int |
||
| 40 | */ |
||
| 41 | public function getParentId(): int |
||
| 42 | { |
||
| 43 | return $this->parent_id; |
||
| 44 | } |
||
| 45 | |||
| 46 | /** |
||
| 47 | * @param int $parent_id |
||
| 48 | */ |
||
| 49 | public function setParentId(int $parent_id): void |
||
| 50 | { |
||
| 51 | $this->parent_id = $parent_id; |
||
| 52 | } |
||
| 53 | |||
| 54 | /** |
||
| 55 | * @return int |
||
| 56 | */ |
||
| 57 | public function getEncoded(): int |
||
| 58 | { |
||
| 59 | return $this->encoded; |
||
| 60 | } |
||
| 61 | |||
| 62 | /** |
||
| 63 | * @param int $encoded |
||
| 64 | */ |
||
| 65 | public function setEncoded(int $encoded): void |
||
| 66 | { |
||
| 67 | $this->encoded = $encoded; |
||
| 68 | } |
||
| 69 | |||
| 70 | /** |
||
| 71 | * @return string |
||
| 72 | */ |
||
| 73 | public function getXpath(): string |
||
| 74 | { |
||
| 75 | return $this->xpath; |
||
| 76 | } |
||
| 77 | |||
| 78 | /** |
||
| 79 | * @param string $xpath |
||
| 80 | */ |
||
| 81 | public function setXpath(string $xpath): void |
||
| 82 | { |
||
| 83 | $this->xpath = $xpath; |
||
| 84 | } |
||
| 85 | |||
| 86 | /** |
||
| 87 | * @return string |
||
| 88 | */ |
||
| 89 | public function getXpathSorting(): string |
||
| 92 | } |
||
| 93 | |||
| 94 | /** |
||
| 95 | * @param string $xpath_sorting |
||
| 96 | */ |
||
| 97 | public function setXpathSorting(string $xpath_sorting): void |
||
| 100 | } |
||
| 101 | |||
| 102 | /** |
||
| 103 | * @return int |
||
| 104 | */ |
||
| 105 | public function getMandatory(): int |
||
| 108 | } |
||
| 109 | |||
| 110 | /** |
||
| 111 | * @param int $mandatory |
||
| 112 | */ |
||
| 113 | public function setMandatory(int $mandatory): void |
||
| 116 | } |
||
| 117 | |||
| 119 | } |