File "container.php"
Full Path: /home/siazco/grocery.siazco.se/wp-content/plugins/better-wp-security/core/modules/hibp/container.php
File size: 531 bytes
MIME-type: text/x-php
Charset: utf-8
<?php
use iThemesSecurity\Modules\HIBP\HIBP_Requirement;
use iThemesSecurity\User_Groups\Matcher;
return static function ( \iThemesSecurity\Strauss\Pimple\Container $c ) {
$c[ HIBP_Requirement::class ] = static function ( \iThemesSecurity\Strauss\Pimple\Container $c ) {
return new HIBP_Requirement( $c[ Matcher::class ], ITSEC_Modules::get_config( 'hibp' ), 'hibp' );
};
$c['ITSEC_HIBP'] = static function ( \iThemesSecurity\Strauss\Pimple\Container $c ) {
return new ITSEC_HIBP( $c[ HIBP_Requirement::class ] );
};
};