Skip to content

Instantly share code, notes, and snippets.

Last active Apr 27, 2021
What would you like to do?
final class Window {
public $width;
public $height;
public $children;
public function getWidth() {
return $this->width;
public function getArea() {
return $this->width * $this->height;
public function getChildren() {
return $this->children;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment