plugin/exo/Entity/ItemType/MatchQuestion.php
public function addProposal(Proposal $proposal)
    {
        if (!$this->proposals->contains($proposal)) {
            $this->proposals->add($proposal);
            $proposal->setInteractionMatching($this);
        }
    }
public function addProposal(Proposal $proposal)
    {
        if (!$this->proposals->contains($proposal)) {
            $this->proposals->add($proposal);
            $proposal->setInteractionMatching($this);
        }
    }
public function addProposal ( Proposal $ proposal ) { if ( ! $ this -> proposals -> contains ( $ proposal ) ) { $ this -> proposals -> add ( $ proposal ) ; $ proposal -> setInteractionMatching ( $ this ) ; } }
Adds a proposal.

@param Proposal $proposal
Adds a proposal .