Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
Total | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
CRAP | |
0.00% |
0 / 1 |
HomepageMentorQuestionPoster | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |
0.00% |
0 / 1 |
getTag | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 |
1 | <?php |
2 | |
3 | namespace GrowthExperiments\HelpPanel\QuestionPoster; |
4 | |
5 | use GrowthExperiments\HomepageModules\Mentorship; |
6 | |
7 | /** |
8 | * QuestionPoster variant for asking questions from a mentor, via the homepage. |
9 | * The edit tag and wording are slightly different from asking mentor questions via the help panel. |
10 | */ |
11 | class HomepageMentorQuestionPoster extends MentorQuestionPoster { |
12 | |
13 | /** |
14 | * @inheritDoc |
15 | */ |
16 | protected function getTag() { |
17 | return Mentorship::MENTORSHIP_MODULE_QUESTION_TAG; |
18 | } |
19 | |
20 | } |