PHP Class Nelmio\SecurityBundle\UserAgent\UAFamilyParser\PsrCacheUAFamilyParser

Inheritance: implements Nelmio\SecurityBundle\UserAgent\UAFamilyParser\UAFamilyParserInterface
Datei anzeigen Open project: nelmio/NelmioSecurityBundle

Public Methods

Method Description
__construct ( Psr\Cache\CacheItemPoolInterface $cache, UAFamilyParser $parser, $lifetime, $prefix = 'nelmio-ua-parser-' )
getUaFamily ( $userAgent )

Method Details

__construct() public method

public __construct ( Psr\Cache\CacheItemPoolInterface $cache, UAFamilyParser $parser, $lifetime, $prefix = 'nelmio-ua-parser-' )
$cache Psr\Cache\CacheItemPoolInterface
$parser UAFamilyParser

getUaFamily() public method

public getUaFamily ( $userAgent )