plugin/exo/Entity/ItemType/GraphicQuestion.php
public function addArea(Area $area)
    {
        if (!$this->areas->contains($area)) {
            $this->areas->add($area);
            $area->setInteractionGraphic($this);
        }
    }
public function addArea(Area $area)
    {
        if (!$this->areas->contains($area)) {
            $this->areas->add($area);
            $area->setInteractionGraphic($this);
        }
    }
public function addArea ( Area $ area ) { if ( ! $ this -> areas -> contains ( $ area ) ) { $ this -> areas -> add ( $ area ) ; $ area -> setInteractionGraphic ( $ this ) ; } }
Adds an area.

@param Area $area
Adds an area .