Code Coverage
 
Lines
Functions and Methods
Classes and Traits
Total
100.00% covered (success)
100.00%
3 / 3
100.00% covered (success)
100.00%
1 / 1
CRAP
100.00% covered (success)
100.00%
1 / 1
LegacyStructuredMentorProvider
100.00% covered (success)
100.00%
3 / 3
100.00% covered (success)
100.00%
1 / 1
1
100.00% covered (success)
100.00%
1 / 1
 __construct
100.00% covered (success)
100.00%
3 / 3
100.00% covered (success)
100.00%
1 / 1
1
1<?php
2
3namespace GrowthExperiments\Mentorship\Provider;
4
5use GrowthExperiments\Config\WikiPageConfigLoader;
6use MediaWiki\Title\Title;
7use MediaWiki\User\UserIdentityLookup;
8use MessageLocalizer;
9
10class 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}