public static function MultiKeyWrapper::enabled in Lockr 7.3
Same name and namespace in other branches
- 7.2 vendor/lockr/lockr-client/src/KeyWrapper/MultiKeyWrapper.php \Lockr\KeyWrapper\MultiKeyWrapper::enabled()
Return value
bool
Overrides KeyWrapperInterface::enabled
File
- vendor/
lockr/ lockr/ src/ KeyWrapper/ MultiKeyWrapper.php, line 16
Class
Namespace
Lockr\KeyWrapperCode
public static function enabled() {
foreach (self::$wrappers as $wrapper) {
if ($wrapper::enabled()) {
return true;
}
}
return false;
}