@@ -9,8 +9,8 @@ |
||
| 9 | 9 | */ |
| 10 | 10 | class TerritoryIt extends AbstractTerritory implements TerritoryInterface |
| 11 | 11 | { |
| 12 | - public function code() |
|
| 13 | - { |
|
| 14 | - return 'IT'; |
|
| 15 | - } |
|
| 12 | + public function code() |
|
| 13 | + { |
|
| 14 | + return 'IT'; |
|
| 15 | + } |
|
| 16 | 16 | } |
@@ -9,8 +9,8 @@ |
||
| 9 | 9 | */ |
| 10 | 10 | class TerritoryNe extends AbstractTerritory implements TerritoryInterface |
| 11 | 11 | { |
| 12 | - public function code() |
|
| 13 | - { |
|
| 14 | - return 'NE'; |
|
| 15 | - } |
|
| 12 | + public function code() |
|
| 13 | + { |
|
| 14 | + return 'NE'; |
|
| 15 | + } |
|
| 16 | 16 | } |
@@ -9,8 +9,8 @@ |
||
| 9 | 9 | */ |
| 10 | 10 | class TerritoryLt extends AbstractTerritory implements TerritoryInterface |
| 11 | 11 | { |
| 12 | - public function code() |
|
| 13 | - { |
|
| 14 | - return 'LT'; |
|
| 15 | - } |
|
| 12 | + public function code() |
|
| 13 | + { |
|
| 14 | + return 'LT'; |
|
| 15 | + } |
|
| 16 | 16 | } |
@@ -9,23 +9,23 @@ |
||
| 9 | 9 | */ |
| 10 | 10 | class TerritoryIl extends AbstractTerritory implements TerritoryInterface |
| 11 | 11 | { |
| 12 | - public function code() |
|
| 13 | - { |
|
| 14 | - return 'IL'; |
|
| 15 | - } |
|
| 12 | + public function code() |
|
| 13 | + { |
|
| 14 | + return 'IL'; |
|
| 15 | + } |
|
| 16 | 16 | |
| 17 | - public function firstDay() |
|
| 18 | - { |
|
| 19 | - return 0; |
|
| 20 | - } |
|
| 17 | + public function firstDay() |
|
| 18 | + { |
|
| 19 | + return 0; |
|
| 20 | + } |
|
| 21 | 21 | |
| 22 | - public function weekendStart() |
|
| 23 | - { |
|
| 24 | - return 5; |
|
| 25 | - } |
|
| 22 | + public function weekendStart() |
|
| 23 | + { |
|
| 24 | + return 5; |
|
| 25 | + } |
|
| 26 | 26 | |
| 27 | - public function weekendEnd() |
|
| 28 | - { |
|
| 29 | - return 6; |
|
| 30 | - } |
|
| 27 | + public function weekendEnd() |
|
| 28 | + { |
|
| 29 | + return 6; |
|
| 30 | + } |
|
| 31 | 31 | } |
@@ -9,54 +9,54 @@ |
||
| 9 | 9 | */ |
| 10 | 10 | interface TerritoryInterface |
| 11 | 11 | { |
| 12 | - /** |
|
| 13 | - * The ISO639 or M.49 code for this territory. |
|
| 14 | - * |
|
| 15 | - * @return string |
|
| 16 | - */ |
|
| 17 | - public function code(); |
|
| 12 | + /** |
|
| 13 | + * The ISO639 or M.49 code for this territory. |
|
| 14 | + * |
|
| 15 | + * @return string |
|
| 16 | + */ |
|
| 17 | + public function code(); |
|
| 18 | 18 | |
| 19 | - /** |
|
| 20 | - * What is the first day of the week? |
|
| 21 | - * 0 = Sunday |
|
| 22 | - * 1 = Monday |
|
| 23 | - * etc. |
|
| 24 | - * |
|
| 25 | - * @return int |
|
| 26 | - */ |
|
| 27 | - public function firstDay(); |
|
| 19 | + /** |
|
| 20 | + * What is the first day of the week? |
|
| 21 | + * 0 = Sunday |
|
| 22 | + * 1 = Monday |
|
| 23 | + * etc. |
|
| 24 | + * |
|
| 25 | + * @return int |
|
| 26 | + */ |
|
| 27 | + public function firstDay(); |
|
| 28 | 28 | |
| 29 | - /** |
|
| 30 | - * Does this territory prefer 'metric', 'UK' or 'US' measurements. |
|
| 31 | - * |
|
| 32 | - * @return string |
|
| 33 | - */ |
|
| 34 | - public function measurementSystem(); |
|
| 29 | + /** |
|
| 30 | + * Does this territory prefer 'metric', 'UK' or 'US' measurements. |
|
| 31 | + * |
|
| 32 | + * @return string |
|
| 33 | + */ |
|
| 34 | + public function measurementSystem(); |
|
| 35 | 35 | |
| 36 | - /** |
|
| 37 | - * Does this territory prefer 'A4' or 'US-Letter' paper. |
|
| 38 | - * |
|
| 39 | - * @return string |
|
| 40 | - */ |
|
| 41 | - public function paperSize(); |
|
| 36 | + /** |
|
| 37 | + * Does this territory prefer 'A4' or 'US-Letter' paper. |
|
| 38 | + * |
|
| 39 | + * @return string |
|
| 40 | + */ |
|
| 41 | + public function paperSize(); |
|
| 42 | 42 | |
| 43 | - /** |
|
| 44 | - * What is the first day of the weekend? |
|
| 45 | - * 0 = Sunday |
|
| 46 | - * 1 = Monday |
|
| 47 | - * etc. |
|
| 48 | - * |
|
| 49 | - * @return int |
|
| 50 | - */ |
|
| 51 | - public function weekendStart(); |
|
| 43 | + /** |
|
| 44 | + * What is the first day of the weekend? |
|
| 45 | + * 0 = Sunday |
|
| 46 | + * 1 = Monday |
|
| 47 | + * etc. |
|
| 48 | + * |
|
| 49 | + * @return int |
|
| 50 | + */ |
|
| 51 | + public function weekendStart(); |
|
| 52 | 52 | |
| 53 | - /** |
|
| 54 | - * What is the last day of the weekend? |
|
| 55 | - * 0 = Sunday |
|
| 56 | - * 1 = Monday |
|
| 57 | - * etc. |
|
| 58 | - * |
|
| 59 | - * @return int |
|
| 60 | - */ |
|
| 61 | - public function weekendEnd(); |
|
| 53 | + /** |
|
| 54 | + * What is the last day of the weekend? |
|
| 55 | + * 0 = Sunday |
|
| 56 | + * 1 = Monday |
|
| 57 | + * etc. |
|
| 58 | + * |
|
| 59 | + * @return int |
|
| 60 | + */ |
|
| 61 | + public function weekendEnd(); |
|
| 62 | 62 | } |
@@ -9,13 +9,13 @@ |
||
| 9 | 9 | */ |
| 10 | 10 | class TerritoryAs extends AbstractTerritory implements TerritoryInterface |
| 11 | 11 | { |
| 12 | - public function code() |
|
| 13 | - { |
|
| 14 | - return 'AS'; |
|
| 15 | - } |
|
| 12 | + public function code() |
|
| 13 | + { |
|
| 14 | + return 'AS'; |
|
| 15 | + } |
|
| 16 | 16 | |
| 17 | - public function firstDay() |
|
| 18 | - { |
|
| 19 | - return 0; |
|
| 20 | - } |
|
| 17 | + public function firstDay() |
|
| 18 | + { |
|
| 19 | + return 0; |
|
| 20 | + } |
|
| 21 | 21 | } |
@@ -9,8 +9,8 @@ |
||
| 9 | 9 | */ |
| 10 | 10 | class TerritoryPm extends AbstractTerritory implements TerritoryInterface |
| 11 | 11 | { |
| 12 | - public function code() |
|
| 13 | - { |
|
| 14 | - return 'PM'; |
|
| 15 | - } |
|
| 12 | + public function code() |
|
| 13 | + { |
|
| 14 | + return 'PM'; |
|
| 15 | + } |
|
| 16 | 16 | } |
@@ -9,13 +9,13 @@ |
||
| 9 | 9 | */ |
| 10 | 10 | class TerritoryHn extends AbstractTerritory implements TerritoryInterface |
| 11 | 11 | { |
| 12 | - public function code() |
|
| 13 | - { |
|
| 14 | - return 'HN'; |
|
| 15 | - } |
|
| 12 | + public function code() |
|
| 13 | + { |
|
| 14 | + return 'HN'; |
|
| 15 | + } |
|
| 16 | 16 | |
| 17 | - public function firstDay() |
|
| 18 | - { |
|
| 19 | - return 0; |
|
| 20 | - } |
|
| 17 | + public function firstDay() |
|
| 18 | + { |
|
| 19 | + return 0; |
|
| 20 | + } |
|
| 21 | 21 | } |
@@ -9,13 +9,13 @@ |
||
| 9 | 9 | */ |
| 10 | 10 | class TerritoryPy extends AbstractTerritory implements TerritoryInterface |
| 11 | 11 | { |
| 12 | - public function code() |
|
| 13 | - { |
|
| 14 | - return 'PY'; |
|
| 15 | - } |
|
| 12 | + public function code() |
|
| 13 | + { |
|
| 14 | + return 'PY'; |
|
| 15 | + } |
|
| 16 | 16 | |
| 17 | - public function firstDay() |
|
| 18 | - { |
|
| 19 | - return 0; |
|
| 20 | - } |
|
| 17 | + public function firstDay() |
|
| 18 | + { |
|
| 19 | + return 0; |
|
| 20 | + } |
|
| 21 | 21 | } |