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