1 | <?php |
||
19 | class CompileProcessPostRenderPageView extends Event |
||
20 | { |
||
21 | const NAME = 'compile.process.postrender_pageview'; |
||
22 | |||
23 | private $compiledOutput; |
||
24 | private $pageViewType; |
||
25 | |||
26 | /** |
||
27 | * CompileProcessPostRenderPageView constructor. |
||
28 | * |
||
29 | * @param string $pageViewType |
||
30 | * @param string $compiledOutput |
||
31 | */ |
||
32 | 12 | public function __construct($pageViewType, $compiledOutput) |
|
37 | |||
38 | /** |
||
39 | * @return string |
||
40 | */ |
||
41 | 12 | public function getCompiledOutput() |
|
45 | |||
46 | /** |
||
47 | * Modify the compiled output. |
||
48 | * |
||
49 | * @param string $compiledOutput |
||
50 | */ |
||
51 | public function setCompiledOutput($compiledOutput) |
||
62 | } |
||
63 |
If you suppress an error, we recommend checking for the error condition explicitly: