From 281283db05b3ee3d5491ccb05f2bc00db2bc9590 Mon Sep 17 00:00:00 2001 From: Oli Folkerd Date: Sun, 20 Dec 2015 15:01:41 +0000 Subject: [PATCH] Commenting Update --- Convertor.php | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/Convertor.php b/Convertor.php index dd2e446..42e7d08 100644 --- a/Convertor.php +++ b/Convertor.php @@ -1,5 +1,13 @@ + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ class Convertor { @@ -9,7 +17,12 @@ class Convertor //array to hold unit conversion functions private $units = array(); + + /** + * setup units conversion array + */ function defineUnits(){ + $this->units = array( ///////Units Of Length/////// "m"=>array("base"=>"m", "conversion"=>1), //meter - base unit for distance