| Total Complexity | 4 |
| Total Lines | 66 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 0 | ||
| 1 | <?php |
||
| 14 | class SpeakableSpecification extends Base |
||
| 15 | { |
||
| 16 | const SCHEMA_ORG_TYPE = 'SpeakableSpecification'; |
||
| 17 | |||
| 18 | const PROPERTIES = [ |
||
| 19 | 'cssSelector', |
||
| 20 | 'xpath', |
||
| 21 | ]; |
||
| 22 | |||
| 23 | /** |
||
| 24 | * @return array<int, CssSelectorType> |
||
| 25 | */ |
||
| 26 | 3 | public function GetCssSelector() : array |
|
| 38 | } |
||
| 39 | |||
| 40 | /** |
||
| 41 | * @param array<int, CssSelectorType> $value |
||
| 42 | */ |
||
| 43 | 1 | public function SetCssSelector(array $value) : void |
|
| 44 | { |
||
| 45 | 1 | $this->NudgePropertyWithUniqueValuesOfThings( |
|
| 46 | 1 | 'cssSelector', |
|
| 47 | 1 | __METHOD__, |
|
| 48 | 1 | $value, |
|
| 49 | 1 | CssSelectorType::class |
|
| 50 | ); |
||
| 51 | 1 | } |
|
| 52 | |||
| 53 | /** |
||
| 54 | * @return array<int, XPathType> |
||
| 55 | */ |
||
| 56 | 3 | public function GetXpath() : array |
|
| 68 | } |
||
| 69 | |||
| 70 | /** |
||
| 71 | * @param array<int, XPathType> $value |
||
| 72 | */ |
||
| 73 | 1 | public function SetXpath(array $value) : void |
|
| 80 | ); |
||
| 81 | 1 | } |
|
| 83 |