public function addDealerContactInfoVersion(ChildDealerContactInfoVersion $l)
    {
        if ($this->collDealerContactInfoVersions === null) {
            $this->initDealerContactInfoVersions();
            $this->collDealerContactInfoVersionsPartial = true;
        }

        if (!in_array($l, $this->collDealerContactInfoVersions->getArrayCopy(), true)) { // only add it if the **same** object is not already associated
            $this->doAddDealerContactInfoVersion($l);
        }

        return $this;
    }
public function addDealerContactInfoVersion(ChildDealerContactInfoVersion $l)
    {
        if ($this->collDealerContactInfoVersions === null) {
            $this->initDealerContactInfoVersions();
            $this->collDealerContactInfoVersionsPartial = true;
        }

        if (!in_array($l, $this->collDealerContactInfoVersions->getArrayCopy(), true)) { // only add it if the **same** object is not already associated
            $this->doAddDealerContactInfoVersion($l);
        }

        return $this;
    }
public function addDealerContactInfoVersion ( ChildDealerContactInfoVersion $ l ) { if ( $ this -> collDealerContactInfoVersions === null ) { $ this -> initDealerContactInfoVersions ( ) ; $ this -> collDealerContactInfoVersionsPartial = true ; } if ( ! in_array ( $ l , $ this -> collDealerContactInfoVersions -> getArrayCopy ( ) , true ) ) { // only add it if the **same** object is not already associated $ this -> doAddDealerContactInfoVersion ( $ l ) ; } return $ this ; }
Method called to associate a ChildDealerContactInfoVersion object to this object
through the ChildDealerContactInfoVersion foreign key attribute.

@param    ChildDealerContactInfoVersion $l ChildDealerContactInfoVersion
@return   \Dealer\Model\DealerContactInfo The current object (for fluent API support)
Method called to associate a ChildDealerContactInfoVersion object to this object through the ChildDealerContactInfoVersion foreign key attribute .