PHP Class Browscap\Formatter\JsonFormatter

Author: Thomas Müller ([email protected])
Inheritance: implements Browscap\Formatter\FormatterInterface
Afficher le fichier Open project: browscap/browscap Class Usage Examples

Méthodes publiques

Méthode Description
formatPropertyName ( string $name ) : string formats the name of a property
formatPropertyValue ( string $value, string $property ) : string formats the name of a property
getFilter ( ) : Browscap\Filter\FilterInterface
getType ( ) : string returns the Type of the formatter
setFilter ( Browscap\Filter\FilterInterface $filter ) : Browscap\Formatter\FormatterInterface

Method Details

formatPropertyName() public méthode

formats the name of a property
public formatPropertyName ( string $name ) : string
$name string
Résultat string

formatPropertyValue() public méthode

formats the name of a property
public formatPropertyValue ( string $value, string $property ) : string
$value string
$property string
Résultat string

getFilter() public méthode

public getFilter ( ) : Browscap\Filter\FilterInterface
Résultat Browscap\Filter\FilterInterface

getType() public méthode

returns the Type of the formatter
public getType ( ) : string
Résultat string

setFilter() public méthode

public setFilter ( Browscap\Filter\FilterInterface $filter ) : Browscap\Formatter\FormatterInterface
$filter Browscap\Filter\FilterInterface
Résultat Browscap\Formatter\FormatterInterface