public function addHole(Hole $hole)
    {
        if (!$this->holes->contains($hole)) {
            $this->holes->add($hole);
            $hole->setInteractionHole($this);
        }
    }
public function addHole(Hole $hole)
    {
        if (!$this->holes->contains($hole)) {
            $this->holes->add($hole);
            $hole->setInteractionHole($this);
        }
    }
public function addHole ( Hole $ hole ) { if ( ! $ this -> holes -> contains ( $ hole ) ) { $ this -> holes -> add ( $ hole ) ; $ hole -> setInteractionHole ( $ this ) ; } }
Adds a hole.

@param Hole $hole
Adds a hole .