original_string: public function addPosition(ChildPosition $l)
      {
          if ($this->collPositions === null) {
              $this->initPositions();
              $this->collPositionsPartial = true;
          }
  
          if (!$this->collPositions->contains($l)) {
              $this->doAddPosition($l);
          }
  
          return $this;
      }
code: public function addPosition(ChildPosition $l)
      {
          if ($this->collPositions === null) {
              $this->initPositions();
              $this->collPositionsPartial = true;
          }
  
          if (!$this->collPositions->contains($l)) {
              $this->doAddPosition($l);
          }
  
          return $this;
      }
code_tokens: public function addPosition ( ChildPosition $ l ) { if ( $ this -> collPositions === null ) { $ this -> initPositions ( ) ; $ this -> collPositionsPartial = true ; } if ( ! $ this -> collPositions -> contains ( $ l ) ) { $ this -> doAddPosition ( $ l ) ; } return $ this ; }
docstring: 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)
docstring_tokens: Method called to associate a ChildPosition object to this object through the ChildPosition foreign key attribute .