FastFeed\Item::setIntro PHP Method

setIntro() public method

public setIntro ( string $intro )
$intro string
    public function setIntro($intro)
    {
        $this->intro = (string) $intro;
    }

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::setIntro