plugin/exo/Entity/ItemType/PairQuestion.php
public function addOddItem(GridOdd $gridOdd)
    {
        if (!$this->oddItems->contains($gridOdd)) {
            $this->oddItems->add($gridOdd);
            $gridOdd->setQuestion($this);
        }
    }
public function addOddItem(GridOdd $gridOdd)
    {
        if (!$this->oddItems->contains($gridOdd)) {
            $this->oddItems->add($gridOdd);
            $gridOdd->setQuestion($this);
        }
    }
public function addOddItem ( GridOdd $ gridOdd ) { if ( ! $ this -> oddItems -> contains ( $ gridOdd ) ) { $ this -> oddItems -> add ( $ gridOdd ) ; $ gridOdd -> setQuestion ( $ this ) ; } }
Add odd item.

@param GridOdd $gridOdd
Add odd item .