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