public function getHole($uuid)
    {
        $found = null;
        foreach ($this->holes as $hole) {
            if ($hole->getUuid() === $uuid) {
                $found = $hole;
                break;
            }
        }

        return $found;
    }
public function getHole($uuid)
    {
        $found = null;
        foreach ($this->holes as $hole) {
            if ($hole->getUuid() === $uuid) {
                $found = $hole;
                break;
            }
        }

        return $found;
    }
public function getHole ( $ uuid ) { $ found = null ; foreach ( $ this -> holes as $ hole ) { if ( $ hole -> getUuid ( ) === $ uuid ) { $ found = $ hole ; break ; } } return $ found ; }
Retrieves a hole by its uuid.

@param $uuid

@return Hole
Retrieves a hole by its uuid .