Skip to content

Instantly share code, notes, and snippets.

Embed
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