Code Coverage
 
Lines
Functions and Methods
Classes and Traits
Total
0.00% covered (danger)
0.00%
0 / 2
0.00% covered (danger)
0.00%
0 / 1
CRAP
0.00% covered (danger)
0.00%
0 / 1
CommunityStructuredMentorProvider
0.00% covered (danger)
0.00%
0 / 2
0.00% covered (danger)
0.00%
0 / 1
2
0.00% covered (danger)
0.00%
0 / 1
 __construct
0.00% covered (danger)
0.00%
0 / 2
0.00% covered (danger)
0.00%
0 / 1
2
1<?php
2
3namespace GrowthExperiments\Mentorship\Provider;
4
5use MediaWiki\Extension\CommunityConfiguration\Provider\IConfigurationProvider;
6use MediaWiki\User\UserIdentityLookup;
7use MessageLocalizer;
8
9class CommunityStructuredMentorProvider extends AbstractStructuredMentorProvider {
10    use CommunityGetMentorDataTrait;
11
12    public function __construct(
13        UserIdentityLookup $userIdentityLookup,
14        MessageLocalizer $messageLocalizer,
15        IConfigurationProvider $provider
16    ) {
17        parent::__construct( $userIdentityLookup, $messageLocalizer );
18
19        $this->provider = $provider;
20    }
21}