src/model/Base/Skill.php
public function addVideo(ChildVideo $l)
    {
        if ($this->collVideos === null) {
            $this->initVideos();
            $this->collVideosPartial = true;
        }

        if (!$this->collVideos->contains($l)) {
            $this->doAddVideo($l);
        }

        return $this;
    }
public function addVideo(ChildVideo $l)
    {
        if ($this->collVideos === null) {
            $this->initVideos();
            $this->collVideosPartial = true;
        }

        if (!$this->collVideos->contains($l)) {
            $this->doAddVideo($l);
        }

        return $this;
    }
public function addVideo ( ChildVideo $ l ) { if ( $ this -> collVideos === null ) { $ this -> initVideos ( ) ; $ this -> collVideosPartial = true ; } if ( ! $ this -> collVideos -> contains ( $ l ) ) { $ this -> doAddVideo ( $ l ) ; } return $ this ; }
Method called to associate a ChildVideo object to this object
through the ChildVideo foreign key attribute.

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