FastFeed\Processor\PathProcessor::fixPaths PHP Method

fixPaths() protected method

protected fixPaths ( Item $item ) : Item
$item FastFeed\Item
return FastFeed\Item
    protected function fixPaths(Item $item)
    {
        $url = new Url($item->getSource());
        $item->setIntro($this->getFixedText($item->getIntro(), $url->getFullHost()));
        $item->setContent($this->getFixedText($item->getContent(), $url->getFullHost()));
        return $item;
    }