Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
Total | |
0.00% |
0 / 4 |
|
0.00% |
0 / 1 |
CRAP | |
0.00% |
0 / 1 |
MediaUploaderResourceModuleFactory | |
0.00% |
0 / 4 |
|
0.00% |
0 / 1 |
2 | |
0.00% |
0 / 1 |
factory | |
0.00% |
0 / 4 |
|
0.00% |
0 / 1 |
2 |
1 | <?php |
2 | |
3 | namespace MediaWiki\Extension\MediaUploader; |
4 | |
5 | /** |
6 | * Factory for MediaUploaderResourceModule. |
7 | */ |
8 | class MediaUploaderResourceModuleFactory { |
9 | |
10 | /** |
11 | * @param array $options |
12 | * |
13 | * @return MediaUploaderResourceModule |
14 | */ |
15 | public static function factory( array $options ): MediaUploaderResourceModule { |
16 | return new MediaUploaderResourceModule( |
17 | $options, |
18 | MediaUploaderServices::getRawConfig() |
19 | ); |
20 | } |
21 | } |