| 1 | <?php |
||
| 24 | class ClientConfig |
||
| 25 | { |
||
| 26 | /** @var array */ |
||
| 27 | private $ipConfig; |
||
| 28 | |||
| 29 | /** @var ConfigStorageInterface */ |
||
| 30 | private $configStorage; |
||
| 31 | |||
| 32 | public function __construct(array $ipConfig, ConfigStorageInterface $configStorage) |
||
| 37 | |||
| 38 | /** |
||
| 39 | * Generate a configuration file for a CN. |
||
| 40 | * |
||
| 41 | * @param string $commonName the CN |
||
| 42 | * |
||
| 43 | * @return string the config file for the CN |
||
| 44 | */ |
||
| 45 | public function get($commonName) |
||
| 59 | } |
||
| 60 |