1 | <?php |
||
4 | abstract class SpeedPointDecoratorAbstract implements SpeedPointProviderInterface, SpeedPointInterface |
||
5 | { |
||
6 | |||
7 | /** |
||
8 | * @var SpeedPointInterface |
||
9 | */ |
||
10 | public $speedpoint; |
||
11 | |||
12 | |||
13 | /** |
||
14 | * @param SpeedPointProviderInterface|SpeedPointInterface $speedpoint |
||
15 | */ |
||
16 | public function __construct( $speedpoint) |
||
26 | |||
27 | |||
28 | /** |
||
29 | * Returns the Decorator instance. |
||
30 | * |
||
31 | * @inheritDoc |
||
32 | * @return SpeedPointDecoratorAbstract |
||
33 | */ |
||
34 | public function getSpeedPoint() : SpeedPointInterface |
||
38 | |||
39 | |||
40 | /** |
||
41 | * @inheritDoc |
||
42 | */ |
||
43 | public function valid() : bool |
||
47 | |||
48 | |||
49 | /** |
||
50 | * @inheritDoc |
||
51 | */ |
||
52 | public function getType() : ?string |
||
56 | |||
57 | |||
58 | /** |
||
59 | * @inheritDoc |
||
60 | */ |
||
61 | public function getValue() : ?float |
||
65 | |||
66 | |||
67 | /** |
||
68 | * @inheritDoc |
||
69 | */ |
||
70 | public function getSpeedLoss() : ?float |
||
74 | |||
75 | |||
76 | /** |
||
77 | * @inheritDoc |
||
78 | */ |
||
79 | public function getEICorrection() : ?float |
||
83 | |||
84 | |||
85 | } |
||
86 |