From 2a6bdea6ec181779e0ee8ac0422b01e7ecd7e531 Mon Sep 17 00:00:00 2001 From: jordanbrauer Date: Mon, 9 Oct 2017 19:34:02 -0500 Subject: [PATCH] Feat: add support for square foot units --- src/UnitConverter/Unit/Area/SquareFoot.php | 34 ++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 src/UnitConverter/Unit/Area/SquareFoot.php diff --git a/src/UnitConverter/Unit/Area/SquareFoot.php b/src/UnitConverter/Unit/Area/SquareFoot.php new file mode 100644 index 00000000..467a833e --- /dev/null +++ b/src/UnitConverter/Unit/Area/SquareFoot.php @@ -0,0 +1,34 @@ + + * @license MIT + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +declare(strict_types = 1); + +namespace UnitConverter\Unit\Area; + +use UnitConverter\Measure; +use UnitConverter\Unit\{ AbstractUnit, UnitInterface }; + +/** + * Square foot data class. + * + * @version 1.0.0 + * @since 1.0.0 + * @author Jordan Brauer + */ +abstract class SquareFoot extends AreaUnit +{ + protected $name = "square foot"; + + protected $symbol = "ft2"; + + protected $units = 0.092903; +}