Skip to content

Commit

Permalink
Commenting Update
Browse files Browse the repository at this point in the history
  • Loading branch information
olifolkerd committed Dec 20, 2015
1 parent bd992c0 commit 281283d
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion Convertor.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
<?php
//a unit conversion class

/*
* This file is part of the Convertor package.
*
* (c) Oliver Folkerd <[email protected]>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/

class Convertor
{
Expand All @@ -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
Expand Down

0 comments on commit 281283d

Please sign in to comment.