| 1 | <?php |
||
| 9 | class Browser |
||
| 10 | { |
||
| 11 | /** @type string The browser command to use. */ |
||
| 12 | private $_browserCommand; |
||
| 13 | |||
| 14 | /** |
||
| 15 | * Initialize the browser command. |
||
| 16 | * |
||
| 17 | * @api |
||
| 18 | * @param string $browserCommand The browser command to use. |
||
| 19 | */ |
||
| 20 | public function __construct($browserCommand) |
||
| 24 | |||
| 25 | /** |
||
| 26 | * View the given URI using the symfony process builder to build the symfony |
||
| 27 | * process to execute. |
||
| 28 | * |
||
| 29 | * @api |
||
| 30 | * @param \Symfony\Component\Process\ProcessBuilder $processBuilder The |
||
| 31 | * process builder. |
||
| 32 | * @param string $uri The URI to view. |
||
| 33 | * @return \Symfony\Component\Process\Process The already-executed process. |
||
| 34 | */ |
||
| 35 | public function viewURI(ProcessBuilder $processBuilder, $uri) |
||
| 42 | } |
||
| 43 |