public function addPosition(ChildPosition $l)
    {
        if ($this->collPositions === null) {
            $this->initPositions();
            $this->collPositionsPartial = true;
        }

        if (!$this->collPositions->contains($l)) {
            $this->doAddPosition($l);
        }

        return $this;
    }
public function addPosition(ChildPosition $l)
    {
        if ($this->collPositions === null) {
            $this->initPositions();
            $this->collPositionsPartial = true;
        }

        if (!$this->collPositions->contains($l)) {
            $this->doAddPosition($l);
        }

        return $this;
    }
public function addPosition ( ChildPosition $ l ) { if ( $ this -> collPositions === null ) { $ this -> initPositions ( ) ; $ this -> collPositionsPartial = true ; } if ( ! $ this -> collPositions -> contains ( $ l ) ) { $ this -> doAddPosition ( $ l ) ; } return $ this ; }
Method called to associate a ChildPosition object to this object
through the ChildPosition foreign key attribute.

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