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