| 1 | <?php |
||
| 7 | class OutputData |
||
| 8 | { |
||
| 9 | /** |
||
| 10 | * @var string |
||
| 11 | */ |
||
| 12 | private $type; |
||
| 13 | /** |
||
| 14 | * @var ScriptInterface |
||
| 15 | */ |
||
| 16 | private $script; |
||
| 17 | /** |
||
| 18 | * @var mixed |
||
| 19 | */ |
||
| 20 | private $solution; |
||
| 21 | /** |
||
| 22 | * OutputData constructor. |
||
| 23 | * @param string $type |
||
| 24 | * @param ScriptInterface $script |
||
| 25 | * @param mixed $solution |
||
| 26 | */ |
||
| 27 | public function __construct($type, ScriptInterface $script, $solution) |
||
| 33 | |||
| 34 | /** |
||
| 35 | * @return string |
||
| 36 | */ |
||
| 37 | public function getType() |
||
| 41 | |||
| 42 | /** |
||
| 43 | * @return ScriptInterface |
||
| 44 | */ |
||
| 45 | public function getScript() |
||
| 49 | |||
| 50 | /** |
||
| 51 | * @return mixed |
||
| 52 | */ |
||
| 53 | public function getSolution() |
||
| 57 | } |
||
| 58 |