public function Lockr::importSecretData in Lockr 7.3
Imports secret data from YAML.
Parameters
string $info_yaml:
File
- vendor/
lockr/ lockr/ src/ Lockr.php, line 316
Class
Namespace
LockrCode
public function importSecretData($info_yaml) {
$data = Yaml::parse($info_yaml);
foreach ($data as $name => $info) {
$this->info
->setSecretInfo($name, $info);
}
}