plugin/exo/Entity/ItemType/MatchQuestion.php
public function addLabel(Label $label)
    {
        if (!$this->labels->contains($label)) {
            $this->labels->add($label);
            $label->setInteractionMatching($this);
        }
    }
public function addLabel(Label $label)
    {
        if (!$this->labels->contains($label)) {
            $this->labels->add($label);
            $label->setInteractionMatching($this);
        }
    }
public function addLabel ( Label $ label ) { if ( ! $ this -> labels -> contains ( $ label ) ) { $ this -> labels -> add ( $ label ) ; $ label -> setInteractionMatching ( $ this ) ; } }
Adds a label.

@param Label $label
Adds a label .