Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
| Total | |
0.00% |
0 / 9 |
|
0.00% |
0 / 6 |
CRAP | |
0.00% |
0 / 1 |
| ResultTestVariablesTransmissionEvent | |
0.00% |
0 / 9 |
|
0.00% |
0 / 6 |
42 | |
0.00% |
0 / 1 |
| __construct | |
0.00% |
0 / 4 |
|
0.00% |
0 / 1 |
2 | |||
| getName | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
| getDeliveryExecutionId | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
| getVariables | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
| getTransmissionId | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
| getTestUri | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
| 1 | <?php |
| 2 | |
| 3 | /** |
| 4 | * This program is free software; you can redistribute it and/or |
| 5 | * modify it under the terms of the GNU General Public License |
| 6 | * as published by the Free Software Foundation; under version 2 |
| 7 | * of the License (non-upgradable). |
| 8 | * |
| 9 | * This program is distributed in the hope that it will be useful, |
| 10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 12 | * GNU General Public License for more details. |
| 13 | * |
| 14 | * You should have received a copy of the GNU General Public License |
| 15 | * along with this program; if not, write to the Free Software |
| 16 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. |
| 17 | * |
| 18 | * Copyright (c) 2021 (original work) Open Assessment Technologies SA; |
| 19 | */ |
| 20 | |
| 21 | declare(strict_types=1); |
| 22 | |
| 23 | namespace oat\taoQtiTest\models\classes\event; |
| 24 | |
| 25 | use oat\oatbox\event\Event; |
| 26 | |
| 27 | class ResultTestVariablesTransmissionEvent implements Event |
| 28 | { |
| 29 | /** @var string */ |
| 30 | private $deliveryExecutionId; |
| 31 | /** @var array */ |
| 32 | private $variables; |
| 33 | /** @var string */ |
| 34 | private $transmissionId; |
| 35 | /** @var string */ |
| 36 | private $testUri; |
| 37 | |
| 38 | public function __construct( |
| 39 | string $deliveryExecutionId, |
| 40 | array $variables, |
| 41 | string $transmissionId, |
| 42 | string $testUri = '' |
| 43 | ) { |
| 44 | $this->deliveryExecutionId = $deliveryExecutionId; |
| 45 | $this->variables = $variables; |
| 46 | $this->transmissionId = $transmissionId; |
| 47 | $this->testUri = $testUri; |
| 48 | } |
| 49 | |
| 50 | public function getName(): string |
| 51 | { |
| 52 | return self::class; |
| 53 | } |
| 54 | |
| 55 | public function getDeliveryExecutionId(): string |
| 56 | { |
| 57 | return $this->deliveryExecutionId; |
| 58 | } |
| 59 | |
| 60 | public function getVariables(): array |
| 61 | { |
| 62 | return $this->variables; |
| 63 | } |
| 64 | |
| 65 | public function getTransmissionId(): string |
| 66 | { |
| 67 | return $this->transmissionId; |
| 68 | } |
| 69 | |
| 70 | public function getTestUri(): string |
| 71 | { |
| 72 | return $this->testUri; |
| 73 | } |
| 74 | } |