src/model/Base/Skill.php
public function addPicture(ChildPicture $l)
    {
        if ($this->collPictures === null) {
            $this->initPictures();
            $this->collPicturesPartial = true;
        }

        if (!$this->collPictures->contains($l)) {
            $this->doAddPicture($l);
        }

        return $this;
    }
public function addPicture(ChildPicture $l)
    {
        if ($this->collPictures === null) {
            $this->initPictures();
            $this->collPicturesPartial = true;
        }

        if (!$this->collPictures->contains($l)) {
            $this->doAddPicture($l);
        }

        return $this;
    }
public function addPicture ( ChildPicture $ l ) { if ( $ this -> collPictures === null ) { $ this -> initPictures ( ) ; $ this -> collPicturesPartial = true ; } if ( ! $ this -> collPictures -> contains ( $ l ) ) { $ this -> doAddPicture ( $ l ) ; } return $ this ; }
Method called to associate a ChildPicture object to this object
through the ChildPicture foreign key attribute.

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