public function addDealerShedulesVersion(ChildDealerShedulesVersion $l)
    {
        if ($this->collDealerShedulesVersions === null) {
            $this->initDealerShedulesVersions();
            $this->collDealerShedulesVersionsPartial = true;
        }

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

        return $this;
    }
public function addDealerShedulesVersion(ChildDealerShedulesVersion $l)
    {
        if ($this->collDealerShedulesVersions === null) {
            $this->initDealerShedulesVersions();
            $this->collDealerShedulesVersionsPartial = true;
        }

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

        return $this;
    }
public function addDealerShedulesVersion ( ChildDealerShedulesVersion $ l ) { if ( $ this -> collDealerShedulesVersions === null ) { $ this -> initDealerShedulesVersions ( ) ; $ this -> collDealerShedulesVersionsPartial = true ; } if ( ! in_array ( $ l , $ this -> collDealerShedulesVersions -> getArrayCopy ( ) , true ) ) { // only add it if the **same** object is not already associated $ this -> doAddDealerShedulesVersion ( $ l ) ; } return $ this ; }
Method called to associate a ChildDealerShedulesVersion object to this object
through the ChildDealerShedulesVersion foreign key attribute.

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