Skip to content

Commit cdb582f

Browse files
author
Castellanos, Eleazar
committed
Added loadArray function
1 parent b3e88f1 commit cdb582f

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/main/CredentialUtil.php

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,12 @@ public static function loadFile($yamlFile): void
4848
self::_load(Yaml::parseFile($yamlFile));
4949
}
5050

51+
public static function loadArray(array $values): void
52+
{
53+
self::$logger->debug("CredentialHelper.loadArray");
54+
self::_load($values);
55+
}
56+
5157
private static function _load(mixed $values): void
5258
{
5359
self::$logger->debug(var_export($values, true));

0 commit comments

Comments
 (0)