Skip to content

Instantly share code, notes, and snippets.

Last active July 16, 2020 00:08
What would you like to do?
final class Polygon {
private $vertices;
public function getVertices(): Collection {
return $this->vertices;
public function setVertices(Collection $newVertices) {
$this->vertices = $newVertices;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment