public function addDealerFolder(ChildDealerFolder $l)
    {
        if ($this->collDealerFolders === null) {
            $this->initDealerFolders();
            $this->collDealerFoldersPartial = true;
        }

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

        return $this;
    }
public function addDealerFolder(ChildDealerFolder $l)
    {
        if ($this->collDealerFolders === null) {
            $this->initDealerFolders();
            $this->collDealerFoldersPartial = true;
        }

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

        return $this;
    }
public function addDealerFolder ( ChildDealerFolder $ l ) { if ( $ this -> collDealerFolders === null ) { $ this -> initDealerFolders ( ) ; $ this -> collDealerFoldersPartial = true ; } if ( ! in_array ( $ l , $ this -> collDealerFolders -> getArrayCopy ( ) , true ) ) { // only add it if the **same** object is not already associated $ this -> doAddDealerFolder ( $ l ) ; } return $ this ; }
Method called to associate a ChildDealerFolder object to this object
through the ChildDealerFolder foreign key attribute.

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