for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* @author SignpostMarv
*/
declare(strict_types=1);
namespace SignpostMarv\DaftObject\SchemaOrg\Intangible;
use SignpostMarv\DaftObject\SchemaOrg\DataTypes\DataType\Text\CssSelectorType;
use SignpostMarv\DaftObject\SchemaOrg\DataTypes\DataType\Text\XPathType;
use SignpostMarv\DaftObject\SchemaOrg\Intangible as Base;
use SignpostMarv\DaftObject\SchemaOrg\TypeUtilities;
class SpeakableSpecification extends Base
{
const SCHEMA_ORG_TYPE = 'SpeakableSpecification';
const PROPERTIES = [
'cssSelector',
'xpath',
];
* @return array<int, CssSelectorType>
public function GetCssSelector() : array
* @var array<int, CssSelectorType>
$out = TypeUtilities::ExpectRetrievedValueIsArray(
$this->RetrievePropertyValueFromData('cssSelector'),
static::class
);
return $out;
}
* @param array<int, CssSelectorType> $value
public function SetCssSelector(array $value) : void
$this->NudgePropertyWithUniqueValuesOfThings(
__METHOD__,
$value,
CssSelectorType::class
* @return array<int, XPathType>
public function GetXpath() : array
* @var array<int, XPathType>
$this->RetrievePropertyValueFromData('xpath'),
* @param array<int, XPathType> $value
public function SetXpath(array $value) : void
XPathType::class