public function __get(string $key) { if (\array_key_exists($key, $this->config)) { return $this->config[$key]; } throw new CryptoException\ConfigDirectiveNotFound($key); }