Nelmio\SecurityBundle\UserAgent\UAFamilyParser\PsrCacheUAFamilyParser::__construct PHP Method

__construct() public method

public __construct ( Psr\Cache\CacheItemPoolInterface $cache, UAFamilyParser $parser, $lifetime, $prefix = 'nelmio-ua-parser-' )
$cache Psr\Cache\CacheItemPoolInterface
$parser UAFamilyParser
    public function __construct(CacheItemPoolInterface $cache, UAFamilyParser $parser, $lifetime = 0, $prefix = 'nelmio-ua-parser-')
    {
        $this->parser = $parser;
        $this->cache = $cache;
        $this->lifetime = $lifetime;
        $this->prefix = $prefix;
    }
PsrCacheUAFamilyParser