src/Cocorico/UserBundle/Entity/User.php
/**
     * Add ListingAlert
     *
     * @param  ListingAlertInterface $listingAlert
     * @return User
     */
Add ListingAlert
@param  ListingAlertInterface $listingAlert
@return User
Add ListingAlert @param ListingAlertInterface $listingAlert @return User
public function addListingAlert($listingAlert)
    {
        $listingAlert->setUser($this);
        $this->listingAlerts[] = $listingAlert;
        return $this;
    }
public function addListingAlert ( $ listingAlert ) { $ listingAlert -> setUser ( $ this ) ; $ this -> listingAlerts [ ] = $ listingAlert ; return $ this ; }
Add ListingAlert
 @param  ListingAlertInterface $listingAlert
 @return User
Add ListingAlert @param ListingAlertInterface $listingAlert @return User