public function addObject(ChildObject $l)
    {
        if ($this->collObjects === null) {
            $this->initObjects();
            $this->collObjectsPartial = true;
        }

        if (!$this->collObjects->contains($l)) {
            $this->doAddObject($l);
        }

        return $this;
    }
public function addObject(ChildObject $l)
    {
        if ($this->collObjects === null) {
            $this->initObjects();
            $this->collObjectsPartial = true;
        }

        if (!$this->collObjects->contains($l)) {
            $this->doAddObject($l);
        }

        return $this;
    }
public function addObject ( ChildObject $ l ) { if ( $ this -> collObjects === null ) { $ this -> initObjects ( ) ; $ this -> collObjectsPartial = true ; } if ( ! $ this -> collObjects -> contains ( $ l ) ) { $ this -> doAddObject ( $ l ) ; } return $ this ; }
Method called to associate a ChildObject object to this object
through the ChildObject foreign key attribute.

@param  ChildObject $l ChildObject
@return $this|\gossi\trixionary\model\Sport The current object (for fluent API support)
Method called to associate a ChildObject object to this object through the ChildObject foreign key attribute .