public function addMxmap(ChildMxmap $l)
    {
        if ($this->collMxmaps === null) {
            $this->initMxmaps();
            $this->collMxmapsPartial = true;
        }

        if (!$this->collMxmaps->contains($l)) {
            $this->doAddMxmap($l);

            if ($this->mxmapsScheduledForDeletion and $this->mxmapsScheduledForDeletion->contains($l)) {
                $this->mxmapsScheduledForDeletion->remove($this->mxmapsScheduledForDeletion->search($l));
            }
        }

        return $this;
    }
public function addMxmap(ChildMxmap $l)
    {
        if ($this->collMxmaps === null) {
            $this->initMxmaps();
            $this->collMxmapsPartial = true;
        }

        if (!$this->collMxmaps->contains($l)) {
            $this->doAddMxmap($l);

            if ($this->mxmapsScheduledForDeletion and $this->mxmapsScheduledForDeletion->contains($l)) {
                $this->mxmapsScheduledForDeletion->remove($this->mxmapsScheduledForDeletion->search($l));
            }
        }

        return $this;
    }
public function addMxmap ( ChildMxmap $ l ) { if ( $ this -> collMxmaps === null ) { $ this -> initMxmaps ( ) ; $ this -> collMxmapsPartial = true ; } if ( ! $ this -> collMxmaps -> contains ( $ l ) ) { $ this -> doAddMxmap ( $ l ) ; if ( $ this -> mxmapsScheduledForDeletion and $ this -> mxmapsScheduledForDeletion -> contains ( $ l ) ) { $ this -> mxmapsScheduledForDeletion -> remove ( $ this -> mxmapsScheduledForDeletion -> search ( $ l ) ) ; } } return $ this ; }
Method called to associate a ChildMxmap object to this object
through the ChildMxmap foreign key attribute.

@param  ChildMxmap $l ChildMxmap
@return $this|\eXpansion\Bundle\Maps\Model\Map The current object (for fluent API support)
Method called to associate a ChildMxmap object to this object through the ChildMxmap foreign key attribute .