FastFeed\Item::setContent PHP Method

setContent() public method

public setContent ( string $content )
$content string
    public function setContent($content)
    {
        $this->content = (string) $content;
    }

Usage Example

Example #1
0
 /**
  * @param Item $item
  *
  * @return 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;
 }
All Usage Examples Of FastFeed\Item::setContent