3 namespace League\HTMLToMarkdown;
5 interface ElementInterface
10 public function isBlock();
15 public function isText();
20 public function isWhitespace();
25 public function getTagName();
30 public function getValue();
33 * @return ElementInterface|null
35 public function getParent();
38 * @param string|string[] $tagNames
42 public function isDescendantOf($tagNames);
47 public function hasChildren();
50 * @return ElementInterface[]
52 public function getChildren();
55 * @return ElementInterface|null
57 public function getNext();
62 public function getSiblingPosition();
67 public function getChildrenAsString();
70 * @param string $markdown
72 public function setFinalMarkdown($markdown);
79 public function getAttribute($name);