1 | <?php |
||
17 | abstract class Interaction extends Definition |
||
18 | { |
||
19 | private $correctResponsesPattern; |
||
20 | |||
21 | /** |
||
22 | * @param LanguageMap|null $name |
||
23 | * @param LanguageMap|null $description |
||
24 | * @param string|null $type |
||
25 | * @param string|null $moreInfo |
||
26 | * @param string[]|null $correctResponsesPattern |
||
27 | */ |
||
28 | public function __construct(LanguageMap $name = null, LanguageMap $description = null, $type = null, $moreInfo = null, array $correctResponsesPattern = null) |
||
34 | |||
35 | /** |
||
36 | * @param string[]|null $correctResponsesPattern |
||
37 | * |
||
38 | * @return static |
||
39 | */ |
||
40 | public function withCorrectResponsesPattern(array $correctResponsesPattern = null) |
||
47 | |||
48 | public function getCorrectResponsesPattern() |
||
52 | |||
53 | public function equals(Definition $definition) |
||
81 | } |
||
82 |