Skip to content

Instantly share code, notes, and snippets.

@mcsee
Last active April 27, 2021 01:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mcsee/39d40cf2f0d4159c95d90243c59a4df5 to your computer and use it in GitHub Desktop.
Save mcsee/39d40cf2f0d4159c95d90243c59a4df5 to your computer and use it in GitHub Desktop.
<?php
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