| 1 | <?php  | 
            ||
| 7 | class OutputData  | 
            ||
| 8 | { | 
            ||
| 9 | /**  | 
            ||
| 10 | * @var string  | 
            ||
| 11 | */  | 
            ||
| 12 | private $type;  | 
            ||
| 13 | |||
| 14 | /**  | 
            ||
| 15 | * @var ScriptInterface  | 
            ||
| 16 | */  | 
            ||
| 17 | private $script;  | 
            ||
| 18 | |||
| 19 | /**  | 
            ||
| 20 | * @var mixed  | 
            ||
| 21 | */  | 
            ||
| 22 | private $solution;  | 
            ||
| 23 | |||
| 24 | /**  | 
            ||
| 25 | * OutputData constructor.  | 
            ||
| 26 | * @param string $type  | 
            ||
| 27 | * @param ScriptInterface $script  | 
            ||
| 28 | * @param mixed $solution  | 
            ||
| 29 | */  | 
            ||
| 30 | 84 | public function __construct($type, ScriptInterface $script, $solution)  | 
            |
| 36 | |||
| 37 | /**  | 
            ||
| 38 | * @return string  | 
            ||
| 39 | */  | 
            ||
| 40 | 84 | public function getType()  | 
            |
| 44 | |||
| 45 | /**  | 
            ||
| 46 | * @return ScriptInterface  | 
            ||
| 47 | */  | 
            ||
| 48 | 84 | public function getScript()  | 
            |
| 52 | |||
| 53 | /**  | 
            ||
| 54 | * @return mixed  | 
            ||
| 55 | */  | 
            ||
| 56 | 78 | public function getSolution()  | 
            |
| 60 | |||
| 61 | /**  | 
            ||
| 62 | * @return bool  | 
            ||
| 63 | */  | 
            ||
| 64 | 84 | public function canSign()  | 
            |
| 68 | }  | 
            ||
| 69 |