Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
Total | |
100.00% |
3 / 3 |
|
100.00% |
1 / 1 |
CRAP | |
100.00% |
1 / 1 |
LegacyStructuredMentorProvider | |
100.00% |
3 / 3 |
|
100.00% |
1 / 1 |
1 | |
100.00% |
1 / 1 |
__construct | |
100.00% |
3 / 3 |
|
100.00% |
1 / 1 |
1 |
1 | <?php |
2 | |
3 | namespace GrowthExperiments\Mentorship\Provider; |
4 | |
5 | use GrowthExperiments\Config\WikiPageConfigLoader; |
6 | use MediaWiki\Title\Title; |
7 | use MediaWiki\User\UserIdentityLookup; |
8 | use MessageLocalizer; |
9 | |
10 | class LegacyStructuredMentorProvider extends AbstractStructuredMentorProvider { |
11 | use LegacyGetMentorDataTrait; |
12 | |
13 | public function __construct( |
14 | UserIdentityLookup $userIdentityLookup, |
15 | MessageLocalizer $messageLocalizer, |
16 | WikiPageConfigLoader $configLoader, |
17 | Title $mentorList |
18 | ) { |
19 | parent::__construct( $userIdentityLookup, $messageLocalizer ); |
20 | |
21 | $this->configLoader = $configLoader; |
22 | $this->mentorList = $mentorList; |
23 | } |
24 | } |