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