PHP Class Nelmio\SecurityBundle\UserAgent\UAFamilyParser\DoctrineCacheUAFamilyParser

Inheritance: implements Nelmio\SecurityBundle\UserAgent\UAFamilyParser\UAFamilyParserInterface
ファイルを表示 Open project: nelmio/NelmioSecurityBundle

Public Methods

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

Method Details

__construct() public method

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

getUaFamily() public method

public getUaFamily ( $userAgent )