| 1 | <?php |
||
| 7 | class SimpleHtmlDomNodeBlank extends AbstractSimpleHtmlDomNode implements SimpleHtmlDomNodeInterface |
||
| 8 | { |
||
| 9 | /** |
||
| 10 | * @param string $selector |
||
| 11 | * @param int|null $idx |
||
| 12 | * |
||
| 13 | * @return null |
||
| 14 | */ |
||
| 15 | public function find(string $selector, $idx = null) |
||
| 19 | |||
| 20 | /** |
||
| 21 | * Find one node with a CSS selector. |
||
| 22 | * |
||
| 23 | * @param string $selector |
||
| 24 | * |
||
| 25 | * @return null |
||
| 26 | */ |
||
| 27 | public function findOne(string $selector) |
||
| 31 | |||
| 32 | /** |
||
| 33 | * Find nodes with a CSS selector. |
||
| 34 | * |
||
| 35 | * @param string $selector |
||
| 36 | * |
||
| 37 | * @return SimpleHtmlDomInterface[]|SimpleHtmlDomNodeInterface |
||
| 38 | */ |
||
| 39 | public function findMulti(string $selector): SimpleHtmlDomNodeInterface |
||
| 43 | |||
| 44 | /** |
||
| 45 | * @return string[] |
||
| 46 | */ |
||
| 47 | public function innerHtml(): array |
||
| 51 | |||
| 52 | /** |
||
| 53 | * alias for "$this->innerHtml()" (added for compatibly-reasons with v1.x) |
||
| 54 | */ |
||
| 55 | public function innertext() |
||
| 59 | |||
| 60 | /** |
||
| 61 | * alias for "$this->innerHtml()" (added for compatibly-reasons with v1.x) |
||
| 62 | */ |
||
| 63 | public function outertext() |
||
| 67 | |||
| 68 | /** |
||
| 69 | * @return string[] |
||
| 70 | */ |
||
| 71 | 1 | public function text(): array |
|
| 75 | } |
||
| 76 |