public function addDealerShedules(ChildDealerShedules $l)
    {
        if ($this->collDealerSheduless === null) {
            $this->initDealerSheduless();
            $this->collDealerShedulessPartial = true;
        }

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

        return $this;
    }
public function addDealerShedules(ChildDealerShedules $l)
    {
        if ($this->collDealerSheduless === null) {
            $this->initDealerSheduless();
            $this->collDealerShedulessPartial = true;
        }

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

        return $this;
    }
public function addDealerShedules ( ChildDealerShedules $ l ) { if ( $ this -> collDealerSheduless === null ) { $ this -> initDealerSheduless ( ) ; $ this -> collDealerShedulessPartial = true ; } if ( ! in_array ( $ l , $ this -> collDealerSheduless -> getArrayCopy ( ) , true ) ) { // only add it if the **same** object is not already associated $ this -> doAddDealerShedules ( $ l ) ; } return $ this ; }
Method called to associate a ChildDealerShedules object to this object
through the ChildDealerShedules foreign key attribute.

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