PHP Класс BrowscapPHP\Parser\Ini

Автор: Christoph Ziegenberg ([email protected])
Автор: Thomas Müller ([email protected])
Наследование: implements BrowscapPHP\Parser\ParserInterface
Показать файл Открыть проект

Открытые методы

Метод Описание
__construct ( BrowscapPHP\Parser\Helper\GetPatternInterface $patternHelper, BrowscapPHP\Parser\Helper\GetDataInterface $dataHelper, BrowscapPHP\Formatter\FormatterInterface $formatter ) class constructor
getBrowser ( string $userAgent ) : BrowscapPHP\Formatter\FormatterInterface | null Gets the browser data formatr for the given user agent (or null if no data avaailble, no even the default browser)

Описание методов

__construct() публичный Метод

class constructor
public __construct ( BrowscapPHP\Parser\Helper\GetPatternInterface $patternHelper, BrowscapPHP\Parser\Helper\GetDataInterface $dataHelper, BrowscapPHP\Formatter\FormatterInterface $formatter )
$patternHelper BrowscapPHP\Parser\Helper\GetPatternInterface
$dataHelper BrowscapPHP\Parser\Helper\GetDataInterface
$formatter BrowscapPHP\Formatter\FormatterInterface

getBrowser() публичный Метод

Gets the browser data formatr for the given user agent (or null if no data avaailble, no even the default browser)
public getBrowser ( string $userAgent ) : BrowscapPHP\Formatter\FormatterInterface | null
$userAgent string
Результат BrowscapPHP\Formatter\FormatterInterface | null