1 | <?php |
||
20 | class PhantomJSHelper { |
||
21 | |||
22 | /** |
||
23 | * Service name. |
||
24 | * |
||
25 | * @avr string |
||
26 | */ |
||
27 | const SERVICE_NAME = "webeweb.core.helper.phantomjs"; |
||
28 | |||
29 | /** |
||
30 | * Base. |
||
31 | * |
||
32 | * @var string |
||
33 | */ |
||
34 | private $base; |
||
35 | |||
36 | /** |
||
37 | * Path. |
||
38 | * |
||
39 | * @var string |
||
40 | */ |
||
41 | private $path; |
||
42 | |||
43 | /** |
||
44 | * Constructor. |
||
45 | * |
||
46 | * @param string $path The path. |
||
47 | * @param string $base The base. |
||
48 | */ |
||
49 | public function __construct($path, $base) { |
||
53 | |||
54 | /** |
||
55 | * Get the base. |
||
56 | * |
||
57 | * @return string Returns the base. |
||
58 | */ |
||
59 | public function getBase() { |
||
62 | |||
63 | /** |
||
64 | * Get the command. |
||
65 | * |
||
66 | * @return string Returns the command. |
||
67 | */ |
||
68 | public function getCommand() { |
||
84 | |||
85 | /** |
||
86 | * Get the path. |
||
87 | * |
||
88 | * @return string Returns the path. |
||
89 | */ |
||
90 | public function getPath() { |
||
93 | |||
94 | /** |
||
95 | * Set the base. |
||
96 | * |
||
97 | * @param string $base The base. |
||
98 | * @return PhantomJSHelper Returns this phantomJS helper. |
||
99 | */ |
||
100 | protected function setBase($base) { |
||
104 | |||
105 | /** |
||
106 | * Set the path. |
||
107 | * |
||
108 | * @param string $path The path. |
||
109 | * @return PhantomJSHelper Returns this phantomJS helper. |
||
110 | */ |
||
111 | protected function setPath($path) { |
||
115 | |||
116 | } |
||
117 |