| 1 | <?php |
||
| 15 | class SpeakableSpecification extends BaseType |
||
| 16 | { |
||
| 17 | /** |
||
| 18 | * A CSS selector, e.g. of a [[SpeakableSpecification]] or |
||
| 19 | * [[WebPageElement]]. In the latter case, multiple matches within a page |
||
| 20 | * can constitute a single conceptual "Web page element". |
||
| 21 | * |
||
| 22 | * @param CssSelectorType|CssSelectorType[] $cssSelector |
||
| 23 | * |
||
| 24 | * @return static |
||
| 25 | * |
||
| 26 | * @see http://schema.org/cssSelector |
||
| 27 | */ |
||
| 28 | public function cssSelector($cssSelector) |
||
| 32 | |||
| 33 | /** |
||
| 34 | * An XPath, e.g. of a [[SpeakableSpecification]] or [[WebPageElement]]. In |
||
| 35 | * the latter case, multiple matches within a page can constitute a single |
||
| 36 | * conceptual "Web page element". |
||
| 37 | * |
||
| 38 | * @param XPathType|XPathType[] $xpath |
||
| 39 | * |
||
| 40 | * @return static |
||
| 41 | * |
||
| 42 | * @see http://schema.org/xpath |
||
| 43 | */ |
||
| 44 | public function xpath($xpath) |
||
| 48 | |||
| 49 | } |
||
| 50 |