1 | <?php |
||
52 | class Supervisor |
||
53 | { |
||
54 | /** |
||
55 | * returns the ExpectsSupervisor module |
||
56 | * |
||
57 | * This module provides support for working the the Supervisor daemon on |
||
58 | * a host in your test environment. Supervisor is an increasingly popular |
||
59 | * solution for looking after network daemons. |
||
60 | * |
||
61 | * @param string $hostId |
||
62 | * the ID of the host you want to use Supervisor on |
||
63 | * @return ExpectsSupervisor |
||
64 | */ |
||
65 | public static function expectsHost($hostId) |
||
69 | |||
70 | /** |
||
71 | * returns the FromSupervisor module |
||
72 | * |
||
73 | * This module provides support for querying Supervisor to discover whether |
||
74 | * an app is running or not. Supervisor is an increasingly popular |
||
75 | * solution for looking after network daemons. |
||
76 | * |
||
77 | * @param string $hostId |
||
78 | * the ID of the host you want to use Supervisor on |
||
79 | * @return FromSupervisor |
||
80 | */ |
||
81 | public static function fromHost($hostId) |
||
85 | |||
86 | /** |
||
87 | * returns the UsingSupervisor module |
||
88 | * |
||
89 | * This module provides support for working the the Supervisor daemon on |
||
90 | * a host in your test environment. Supervisor is an increasingly popular |
||
91 | * solution for looking after network daemons. |
||
92 | * |
||
93 | * @param string $hostId |
||
94 | * the ID of the host you want to use Supervisor on |
||
95 | * @return UsingSupervisor |
||
96 | */ |
||
97 | public static function onHost($hostId) |
||
101 | } |
||
102 |