Goose\Modules\Extractors\AdditionalDataExtractor::getTags PHP Method

getTags() private method

private getTags ( ) : string[]
return string[]
    private function getTags()
    {
        $nodes = $this->article()->getDoc()->find(self::$A_REL_TAG_SELECTOR);
        $tags = [];
        foreach ($nodes as $node) {
            $tags[] = Helper::textNormalise($node->text());
        }
        return $tags;
    }