Last active
December 25, 2018 12:10
-
-
Save vahid-almasi/17cf0959530b4d52b421da2c6cd591e0 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<? | |
class VolumeCalculator extends AreaCalulator { | |
public function __construct($shapes = array()) { | |
parent::construct($shapes); | |
} | |
public function sum() { | |
// logic to calculate the volumes and then return and array of output | |
return array($summedData); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment