Entity/Customer.php
public function addFavoriteAd(\Miky\Bundle\AdBundle\Entity\Ad $favoriteAd)
    {
        $this->favoriteAds[] = $favoriteAd;

        return $this;
    }
public function addFavoriteAd(\Miky\Bundle\AdBundle\Entity\Ad $favoriteAd)
    {
        $this->favoriteAds[] = $favoriteAd;

        return $this;
    }
public function addFavoriteAd ( \ Miky \ Bundle \ AdBundle \ Entity \ Ad $ favoriteAd ) { $ this -> favoriteAds [ ] = $ favoriteAd ; return $ this ; }
Add favoriteAd

@param \Miky\Bundle\AdBundle\Entity\Ad $favoriteAd

@return Customer
Add favoriteAd