public function addIndexEngineIndexVersion(ChildIndexEngineIndexVersion $l)
    {
        if ($this->collIndexEngineIndexVersions === null) {
            $this->initIndexEngineIndexVersions();
            $this->collIndexEngineIndexVersionsPartial = true;
        }

        if (!in_array($l, $this->collIndexEngineIndexVersions->getArrayCopy(), true)) { // only add it if the **same** object is not already associated
            $this->doAddIndexEngineIndexVersion($l);
        }

        return $this;
    }
public function addIndexEngineIndexVersion(ChildIndexEngineIndexVersion $l)
    {
        if ($this->collIndexEngineIndexVersions === null) {
            $this->initIndexEngineIndexVersions();
            $this->collIndexEngineIndexVersionsPartial = true;
        }

        if (!in_array($l, $this->collIndexEngineIndexVersions->getArrayCopy(), true)) { // only add it if the **same** object is not already associated
            $this->doAddIndexEngineIndexVersion($l);
        }

        return $this;
    }
public function addIndexEngineIndexVersion ( ChildIndexEngineIndexVersion $ l ) { if ( $ this -> collIndexEngineIndexVersions === null ) { $ this -> initIndexEngineIndexVersions ( ) ; $ this -> collIndexEngineIndexVersionsPartial = true ; } if ( ! in_array ( $ l , $ this -> collIndexEngineIndexVersions -> getArrayCopy ( ) , true ) ) { // only add it if the **same** object is not already associated $ this -> doAddIndexEngineIndexVersion ( $ l ) ; } return $ this ; }
Method called to associate a ChildIndexEngineIndexVersion object to this object
through the ChildIndexEngineIndexVersion foreign key attribute.

@param  ChildIndexEngineIndexVersion        $l ChildIndexEngineIndexVersion
@return \IndexEngine\Model\IndexEngineIndex The current object (for fluent API support)
Method called to associate a ChildIndexEngineIndexVersion object to this object through the ChildIndexEngineIndexVersion foreign key attribute .