@@ -12,6 +12,9 @@ discard block |
||
| 12 | 12 | */ |
| 13 | 13 | private static $libraries = []; |
| 14 | 14 | |
| 15 | + /** |
|
| 16 | + * @param string $classType |
|
| 17 | + */ |
|
| 15 | 18 | private static function getFullClassName($className, $classType) |
| 16 | 19 | { |
| 17 | 20 | switch ($classType) { |
@@ -78,6 +81,9 @@ discard block |
||
| 78 | 81 | return $reflection->newInstanceArgs($args); |
| 79 | 82 | } |
| 80 | 83 | |
| 84 | + /** |
|
| 85 | + * @param string $className |
|
| 86 | + */ |
|
| 81 | 87 | public static function getLibrary($className, $storageKey = null, $configName = null) |
| 82 | 88 | { |
| 83 | 89 | $fullClassName = self::getFullClassName($className, 'Library'); |