| 1 | <?php |
||
| 21 | class Dumper |
||
| 22 | { |
||
| 23 | /** @var Server\ServerInterface a server instance */ |
||
| 24 | private $server; |
||
| 25 | |||
| 26 | /** |
||
| 27 | * Setter for the server instance. |
||
| 28 | * |
||
| 29 | * @see Server\ServerInterface Server Documentation |
||
| 30 | * |
||
| 31 | * @param Server\ServerInterface $server the server instance |
||
| 32 | */ |
||
| 33 | 1 | public function setServer(ServerInterface $server) |
|
| 39 | |||
| 40 | /** |
||
| 41 | * Dumps recursively the active configuration as a file. |
||
| 42 | * |
||
| 43 | * @param DirectiveInterface $activeConfig the active configuration to dump |
||
| 44 | * |
||
| 45 | * @return string the file output |
||
| 46 | */ |
||
| 47 | 1 | public function dump(DirectiveInterface $activeConfig) |
|
| 51 | } |
||
| 52 |