Update Cluster.php (#32)
This commit is contained in:
parent
d19ddb8507
commit
95fc139170
|
@ -136,4 +136,12 @@ class Cluster extends Point implements IteratorAggregate, Countable
|
||||||
{
|
{
|
||||||
return count($this->points);
|
return count($this->points);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param array $newCoordinates
|
||||||
|
*/
|
||||||
|
public function setCoordinates(array $newCoordinates)
|
||||||
|
{
|
||||||
|
$this->coordinates = $newCoordinates;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue