public function addDealerAdminVersion(ChildDealerAdminVersion $l)
    {
        if ($this->collDealerAdminVersions === null) {
            $this->initDealerAdminVersions();
            $this->collDealerAdminVersionsPartial = true;
        }

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

        return $this;
    }
public function addDealerAdminVersion(ChildDealerAdminVersion $l)
    {
        if ($this->collDealerAdminVersions === null) {
            $this->initDealerAdminVersions();
            $this->collDealerAdminVersionsPartial = true;
        }

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

        return $this;
    }
public function addDealerAdminVersion ( ChildDealerAdminVersion $ l ) { if ( $ this -> collDealerAdminVersions === null ) { $ this -> initDealerAdminVersions ( ) ; $ this -> collDealerAdminVersionsPartial = true ; } if ( ! in_array ( $ l , $ this -> collDealerAdminVersions -> getArrayCopy ( ) , true ) ) { // only add it if the **same** object is not already associated $ this -> doAddDealerAdminVersion ( $ l ) ; } return $ this ; }
Method called to associate a ChildDealerAdminVersion object to this object
through the ChildDealerAdminVersion foreign key attribute.

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