summaryrefslogtreecommitdiff
path: root/src/DOMElementInterface.php
blob: af9e6e12f1d438f1aab58d6b1ddf559be50a1463 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
<?php

namespace andreskrey\Readability;

use League\HTMLToMarkdown\ElementInterface;

interface DOMElementInterface extends ElementInterface
{
    /**
     * @param string $value
     *
     * @return bool
     */
    public function tagNameEqualsTo($value);

    /**
     *
     * @return bool
     */
    public function hasSinglePNode();

    /**
     *
     * @return integer
     */
    public function getNodeAncestors();
}