public function addDealerFolderVersion(ChildDealerFolderVersion $l)
    {
        if ($this->collDealerFolderVersions === null) {
            $this->initDealerFolderVersions();
            $this->collDealerFolderVersionsPartial = true;
        }

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

        return $this;
    }
public function addDealerFolderVersion(ChildDealerFolderVersion $l)
    {
        if ($this->collDealerFolderVersions === null) {
            $this->initDealerFolderVersions();
            $this->collDealerFolderVersionsPartial = true;
        }

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

        return $this;
    }
public function addDealerFolderVersion ( ChildDealerFolderVersion $ l ) { if ( $ this -> collDealerFolderVersions === null ) { $ this -> initDealerFolderVersions ( ) ; $ this -> collDealerFolderVersionsPartial = true ; } if ( ! in_array ( $ l , $ this -> collDealerFolderVersions -> getArrayCopy ( ) , true ) ) { // only add it if the **same** object is not already associated $ this -> doAddDealerFolderVersion ( $ l ) ; } return $ this ; }
Method called to associate a ChildDealerFolderVersion object to this object
through the ChildDealerFolderVersion foreign key attribute.

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