| 1 | <?php |
||
| 7 | class InstrumentString extends VibratingString implements InstrumentStringInterface |
||
| 8 | { |
||
| 9 | private $length; |
||
| 10 | private $number; |
||
| 11 | |||
| 12 | public function __construct(float $frequency, float $length, int $number) |
||
| 19 | |||
| 20 | /** |
||
| 21 | * {@inheritdoc} |
||
| 22 | */ |
||
| 23 | public function getNumber(): int |
||
| 27 | |||
| 28 | /** |
||
| 29 | * {@inheritdoc} |
||
| 30 | */ |
||
| 31 | public function getLength(): float |
||
| 35 | } |
||
| 36 |