Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
Total | |
0.00% |
0 / 2 |
|
0.00% |
0 / 2 |
CRAP | |
0.00% |
0 / 1 |
PackedOverlayMode | |
0.00% |
0 / 2 |
|
0.00% |
0 / 2 |
6 | |
0.00% |
0 / 1 |
__construct | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
useTraditionalGalleryText | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 |
1 | <?php |
2 | declare( strict_types = 1 ); |
3 | |
4 | namespace Wikimedia\Parsoid\Ext\Gallery; |
5 | |
6 | class PackedOverlayMode extends PackedMode { |
7 | /** |
8 | * Create a PackedOverlayMode singleton. |
9 | * @param ?string $mode Only used by subclasses. |
10 | */ |
11 | protected function __construct( ?string $mode = null ) { |
12 | parent::__construct( $mode ?? 'packed-overlay' ); |
13 | } |
14 | |
15 | /** @inheritDoc */ |
16 | protected function useTraditionalGalleryText(): bool { |
17 | return false; |
18 | } |
19 | } |