# user-access-manager/2.3.10/src/Cache/CacheProviderFactory.php

User Access Manager, version 2.3.10. 38 lines.

- Page: https://pluginprobe.com/plugins/user-access-manager/2.3.10/code/src/Cache/CacheProviderFactory.php
- Raw: https://pluginprobe.com/plugins/user-access-manager/2.3.10/raw/src/Cache/CacheProviderFactory.php
- Modified: 2026-01-22T11:33:24+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/user-access-manager/2.3.10/code/src/Cache/CacheProviderFactory.php#L10-L20`.

```php
<?php

declare(strict_types=1);

namespace UserAccessManager\Cache;

use UserAccessManager\Config\ConfigFactory;
use UserAccessManager\Config\ConfigParameterFactory;
use UserAccessManager\Util\Util;
use UserAccessManager\Wrapper\Php;
use UserAccessManager\Wrapper\Wordpress;

class CacheProviderFactory
{
    public function __construct(
        private Php $php,
        private Wordpress $wordpress,
        private Util $util,
        private ConfigFactory $configFactory,
        private ConfigParameterFactory $configParameterFactory
    ) {
    }

    /**
     * Creates a FileSystemCacheProvider object.
     */
    public function createFileSystemCacheProvider(): FileSystemCacheProvider
    {
        return new FileSystemCacheProvider(
            $this->php,
            $this->wordpress,
            $this->util,
            $this->configFactory,
            $this->configParameterFactory
        );
    }
}

```
