-
Notifications
You must be signed in to change notification settings - Fork 39
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
8651ae6
commit 3fce071
Showing
4 changed files
with
20 additions
and
12 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,21 +15,23 @@ | |
namespace UnitConverter\Unit\Area; | ||
|
||
/** | ||
* Square centimeter data class. | ||
* Square centimetre data class. | ||
* | ||
* @version 1.0.0 | ||
* @since 0.0.1 | ||
* @author Jordan Brauer <[email protected]> | ||
*/ | ||
class SquareCentimeter extends AreaUnit | ||
class SquareCentimetre extends AreaUnit | ||
{ | ||
protected function configure (): void | ||
{ | ||
$this | ||
->setName("square centimeter") | ||
->setName("square centimetre") | ||
|
||
->setSymbol("cm2") | ||
|
||
->setScientificSymbol("cm²") | ||
|
||
->setUnits(0.0001) | ||
; | ||
} | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,21 +15,23 @@ | |
namespace UnitConverter\Unit\Area; | ||
|
||
/** | ||
* Square kilometer data class. | ||
* Square kilometre data class. | ||
* | ||
* @version 1.0.0 | ||
* @since 0.0.1 | ||
* @author Jordan Brauer <[email protected]> | ||
*/ | ||
class SquareKilometer extends AreaUnit | ||
class SquareKilometre extends AreaUnit | ||
{ | ||
protected function configure (): void | ||
{ | ||
$this | ||
->setName("square kilometer") | ||
->setName("square kilometre") | ||
|
||
->setSymbol("km2") | ||
|
||
->setScientificSymbol("km²") | ||
|
||
->setUnits(1000000) | ||
; | ||
} | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,22 +15,24 @@ | |
namespace UnitConverter\Unit\Area; | ||
|
||
/** | ||
* Square meter data class. All area units will use this | ||
* Square metre data class. All area units will use this | ||
* class as the $base property. | ||
* | ||
* @version 1.0.0 | ||
* @since 0.0.1 | ||
* @author Jordan Brauer <[email protected]> | ||
*/ | ||
class SquareMeter extends AreaUnit | ||
class SquareMetre extends AreaUnit | ||
{ | ||
protected function configure (): void | ||
{ | ||
$this | ||
->setName("square meter") | ||
->setName("square metre") | ||
|
||
->setSymbol("m2") | ||
|
||
->setScientificSymbol("m²") | ||
|
||
->setUnits(1) | ||
; | ||
} | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,21 +15,23 @@ | |
namespace UnitConverter\Unit\Area; | ||
|
||
/** | ||
* Square millimeter data class. | ||
* Square millimetre data class. | ||
* | ||
* @version 1.0.0 | ||
* @since 0.0.1 | ||
* @author Jordan Brauer <[email protected]> | ||
*/ | ||
class SquareMillimeter extends AreaUnit | ||
class SquareMillimetre extends AreaUnit | ||
{ | ||
protected function configure (): void | ||
{ | ||
$this | ||
->setName("square millimeter") | ||
->setName("square millimetre") | ||
|
||
->setSymbol("mm2") | ||
|
||
->setScientificSymbol("mm²") | ||
|
||
->setUnits(0.000001) | ||
; | ||
} | ||
|