Total Complexity | 4 |
Total Lines | 37 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 0 |
1 | <?php |
||
21 | class JasperPrint implements RemoteJavaObjectProxyInterface, ReportStatusInterface |
||
22 | { |
||
23 | /** |
||
24 | * @var JavaObject Java('net.sf.jasperreports.engine.JasperPrint') |
||
25 | */ |
||
26 | private $jasperPrint; |
||
27 | |||
28 | /** |
||
29 | * @var Report |
||
30 | */ |
||
31 | private $report; |
||
32 | |||
33 | /** |
||
34 | * @param JavaObject $jasperPrint Java('net.sf.jasperreports.engine.JasperPrint') |
||
35 | */ |
||
36 | 15 | public function __construct(JavaObject $jasperPrint, Report $report) |
|
37 | { |
||
38 | 15 | $this->jasperPrint = $jasperPrint; |
|
39 | 15 | $this->report = $report; |
|
40 | 15 | } |
|
41 | |||
42 | /** |
||
43 | * @return JavaObject Java('net.sf.jasperreports.engine.JasperPrint') |
||
44 | */ |
||
45 | 13 | public function getJavaProxiedObject(): JavaObject |
|
46 | { |
||
47 | 13 | return $this->jasperPrint; |
|
48 | } |
||
49 | |||
50 | 1 | public function getStatus(): string |
|
53 | } |
||
54 | |||
55 | 1 | public function getReport(): Report |
|
58 | } |
||
59 | } |
||
60 |