* For full license information, please view the LICENSE file that was distributed with this source code.
6
*/
7
8
declare(strict_types = 1);
9
10
namespace Pyz\Yves\SessionCustomerValidationPage;
11
12
use Spryker\Client\Customer\Plugin\SessionCustomerValidationPage\StorageInvalidationRecordCustomerSessionValidatorPlugin;
13
use Spryker\Yves\SessionRedis\Plugin\SessionCustomerValidationPage\RedisCustomerSessionSaverPlugin;
14
use Spryker\Yves\SessionRedis\Plugin\SessionCustomerValidationPage\RedisCustomerSessionValidatorPlugin;
15
use SprykerShop\Yves\SessionCustomerValidationPage\SessionCustomerValidationPageDependencyProvider as SprykerSessionCustomerValidationPageDependencyProvider;
16
use SprykerShop\Yves\SessionCustomerValidationPageExtension\Dependency\Plugin\CustomerSessionSaverPluginInterface;
17
use SprykerShop\Yves\SessionCustomerValidationPageExtension\Dependency\Plugin\CustomerSessionValidatorPluginInterface;
18
19
class SessionCustomerValidationPageDependencyProvider extends SprykerSessionCustomerValidationPageDependencyProvider
20
{
21
protected function getCustomerSessionSaverPlugin(): CustomerSessionSaverPluginInterface
22
{
23
return new RedisCustomerSessionSaverPlugin();
24
}
25
26
protected function getCustomerSessionValidatorPlugin(): CustomerSessionValidatorPluginInterface
27
{
28
return new RedisCustomerSessionValidatorPlugin();
29
}
30
31
protected function getCustomerSessionValidatorPlugins(): array
32
{
33
return [
34
new RedisCustomerSessionValidatorPlugin(),
35
new StorageInvalidationRecordCustomerSessionValidatorPlugin(),