Kombo::kombo()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 2
Code Lines 15

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 15
nc 1
nop 0
dl 0
loc 2
rs 9.7666
c 0
b 0
f 0
1
<?php
2
3
/**
4
 * Klass Kombo.
5
 * @author Niklas Dougherty
6
 */
7
8
declare(strict_types=1);
9
10
namespace Tips\Moduler\System;
11
12
/**
13
 * Klass Kombo.
14
 */
15
final class Kombo {
16
	/**
17
	 * Förinställda val av garderingar och R-system.
18
	 */
19
	public function kombo(): string {
20
		return <<< EOT
21
						<br>
22
						<p><button id="system_rensa_system">Rensa</button> |
23
							<button type="button" class="system_kombo" value="[1, [1, 4], [2], [0], [4, 5, 238, 1]]">R_4_5_238_1 + F 2/4</button>
24
							<button type="button" class="system_kombo" value="[2, [1, 5, 1, 5], [5, 3], [1, 0], [8, 0, 486, 1]]">R_8_0_486_1 + FX 5/5 + F 3/5</button></p>
25
						<p><button type="button" class="system_kombo" value="[2, [1, 6, 1, 6], [6, 4], [1, 0], [7, 0, 186, 1]]">R_7_0_186_1 + FX 6/6 + F 4/6</button>
26
							<button type="button" class="system_schema" value="[2, [1, 13, 1, 5], [13, 3], [1, 0]]">FX 13/13 + F 3/5</button>
27
							<button type="button" class="system_schema" value="[3, [6, 13, 1, 5, 1, 5], [8, -1, 3], [0, 1, 0]]">F 8/8 + SX 1/5 + F 3/5</button></p>
28
						<p><button type="button" class="system_schema" value="[1, [1, 4], [3], [0]]">F 3/4</button>
29
							<button type="button" class="system_schema" value="[2, [1, 5, 6, 9], [4, 2], [0, 0]]">F 4/5 + F 2/4</button>
30
							<button type="button" class="system_schema" value="[1, [1, 5], [5], [1]]">FX 5/5</button>
31
							<button type="button" class="system_schema" value="[1, [1, 3], [-1, 3], [1]]">SX 1/3</button>
32
							<button type="button" class="system_schema" value="[4, [1, 3, 4, 6, 7, 9, 10, 13], [3, 1, -1, -2], [1, 0, 0, 1]]">FX 3/3 + F 1/3 + S 1/3 + SX 2/4</button></p>
33
						<hr>
34
EOT;
35
	}
36
}
37