Goose\Modules\Formatters\OutputFormatter::run PHP Méthode

run() public méthode

public run ( Goose\Article $article )
$article Goose\Article
    public function run(Article $article)
    {
        $this->article($article);
        if ($this->article()->getTopNode() instanceof Element) {
            $this->postExtractionCleanup();
            $article->setCleanedArticleText($this->getFormattedText());
            $article->setHtmlArticle($this->cleanupHtml());
        }
    }