src/Sulu/Bundle/PageBundle/Teaser/Teaser.php
public function merge(array $item)
    {
        $this->title = $this->getValue('title', $item, $this->getTitle());
        $this->description = $this->getValue('description', $item, $this->getDescription());
        $this->moreText = $this->getValue('moreText', $item, $this->getMoreText());
        $this->url = $this->getValue('url', $item, $this->getUrl());
        $this->mediaId = $this->getValue('mediaId', $item, $this->getMediaId());

        return $this;
    }
public function merge(array $item)
    {
        $this->title = $this->getValue('title', $item, $this->getTitle());
        $this->description = $this->getValue('description', $item, $this->getDescription());
        $this->moreText = $this->getValue('moreText', $item, $this->getMoreText());
        $this->url = $this->getValue('url', $item, $this->getUrl());
        $this->mediaId = $this->getValue('mediaId', $item, $this->getMediaId());

        return $this;
    }
public function merge ( array $ item ) { $ this -> title = $ this -> getValue ( 'title' , $ item , $ this -> getTitle ( ) ) ; $ this -> description = $ this -> getValue ( 'description' , $ item , $ this -> getDescription ( ) ) ; $ this -> moreText = $ this -> getValue ( 'moreText' , $ item , $ this -> getMoreText ( ) ) ; $ this -> url = $ this -> getValue ( 'url' , $ item , $ this -> getUrl ( ) ) ; $ this -> mediaId = $ this -> getValue ( 'mediaId' , $ item , $ this -> getMediaId ( ) ) ; return $ this ; }
Merges given data with this teaser.

@param array $item

@return Teaser
Merges given data with this teaser .