summaryrefslogtreecommitdiff
path: root/src/ReadabilityInterface.php
blob: cbb4cb27abada11afedbe6a90d8877bf5b2baf13 (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;

interface ReadabilityInterface
{
    /**
     * @param DOMElement $node
     */
    public function __construct($node);

    /**
     * @return int
     */
    public function getScore();

    /**
     * @return Readability
     */
    public function initializeNode();

    /**
     * @return int
     */
    public function getClassWeight();

}