PHP Class BrowscapPHP\Formatter\LegacyFormatter

Author: Christoph Ziegenberg ([email protected])
Author: Thomas Müller ([email protected])
Inheritance: implements BrowscapPHP\Formatter\FormatterInterface
Datei anzeigen Open project: browscap/browscap-php

Public Methods

Method Description
__construct ( array $options = [] ) LegacyFormatter constructor.
getData ( ) : stdClass Gets the data (in the preferred format)
setData ( array $settings ) : PhpGetBrowser Sets the data (done by the parser)

Method Details

__construct() public method

LegacyFormatter constructor.
public __construct ( array $options = [] )
$options array Formatter optioms

getData() public method

Gets the data (in the preferred format)
public getData ( ) : stdClass
return stdClass

setData() public method

Sets the data (done by the parser)
public setData ( array $settings ) : PhpGetBrowser
$settings array
return PhpGetBrowser