PHP Интерфейс BrowscapPHP\Parser\Helper\GetDataInterface

Автор: Christoph Ziegenberg ([email protected])
Автор: Thomas Müller ([email protected])
Показать файл Открыть проект Примеры использования интерфейса

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

Метод Описание
__construct ( BrowscapPHP\Cache\BrowscapCacheInterface $cache, Psr\Log\LoggerInterface $logger, Quoter $quoter ) class contsructor
getSettings ( string $pattern, array $settings = [] ) : array Gets the settings for a given pattern (method calls itself to get the data from the parent patterns)

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

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

class contsructor
public __construct ( BrowscapPHP\Cache\BrowscapCacheInterface $cache, Psr\Log\LoggerInterface $logger, Quoter $quoter )
$cache BrowscapPHP\Cache\BrowscapCacheInterface
$logger Psr\Log\LoggerInterface
$quoter BrowscapPHP\Helper\Quoter

getSettings() публичный метод

Gets the settings for a given pattern (method calls itself to get the data from the parent patterns)
public getSettings ( string $pattern, array $settings = [] ) : array
$pattern string
$settings array
Результат array