| Total Complexity | 3 |
| Total Lines | 24 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 5 | abstract class Volume implements \JsonSerializable |
||
| 6 | { |
||
| 7 | /** @var string */ |
||
| 8 | protected $source; |
||
| 9 | /** @var null|string */ |
||
| 10 | protected $comment; |
||
| 11 | |||
| 12 | public function __construct(string $source, ?string $comment = null) |
||
| 16 | } |
||
| 17 | |||
| 18 | public function getSource(): string |
||
| 21 | } |
||
| 22 | |||
| 23 | public function getComment(): ?string |
||
| 26 | } |
||
| 27 | |||
| 28 | abstract public function getType(): string; |
||
| 29 | } |
||
| 30 |