| 1 | <?php |
||
| 7 | class DuskProcessFactory |
||
| 8 | { |
||
| 9 | /** |
||
| 10 | * Create new process to run Dusk, passing the same arguments Dashboard command received. |
||
| 11 | * |
||
| 12 | * @return \Symfony\Component\Process\Process |
||
| 13 | */ |
||
| 14 | public static function make() |
||
| 18 | |||
| 19 | /** |
||
| 20 | * Dusk command represented as array. |
||
| 21 | * |
||
| 22 | * @return array |
||
| 23 | */ |
||
| 24 | protected static function binary() |
||
| 28 | |||
| 29 | /** |
||
| 30 | * Arguments that were given to dusk:dashboard. |
||
| 31 | * |
||
| 32 | * @return array |
||
| 33 | */ |
||
| 34 | protected static function arguments() |
||
| 38 | } |
||
| 39 |