1 | <?php |
||
14 | class LegacyScriptController implements ContainerAwareInterface |
||
15 | { |
||
16 | /** |
||
17 | * @var ContainerInterface |
||
18 | */ |
||
19 | private $container; |
||
20 | |||
21 | /** @var string */ |
||
22 | private $prependScript; |
||
23 | |||
24 | /** @var string */ |
||
25 | private $appendScript; |
||
26 | |||
27 | /** |
||
28 | * @param $requestPath |
||
29 | * @param $legacyScript |
||
30 | * |
||
31 | * @return \Symfony\Component\HttpFoundation\StreamedResponse |
||
32 | */ |
||
33 | 3 | public function runLegacyScript($requestPath, $legacyScript) |
|
68 | |||
69 | /** |
||
70 | * @param string|null $script |
||
71 | */ |
||
72 | 1 | public function setPrependScript($script = null) |
|
76 | |||
77 | /** |
||
78 | * @param string|null $script |
||
79 | */ |
||
80 | 1 | public function setAppendScript($script = null) |
|
84 | |||
85 | /** {@inheritdoc} */ |
||
86 | 3 | public function setContainer(ContainerInterface $container = null) |
|
90 | } |
||
91 |