PHP Class Browscap\Formatter\PhpFormatter

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

Public Methods

Method 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 method

formats the name of a property
public formatPropertyName ( string $name ) : string
$name string
return string

formatPropertyValue() public method

formats the name of a property
public formatPropertyValue ( string $value, string $property ) : string
$value string
$property string
return string

getFilter() public method

public getFilter ( ) : Browscap\Filter\FilterInterface
return Browscap\Filter\FilterInterface

getType() public method

returns the Type of the formatter
public getType ( ) : string
return string

setFilter() public method

public setFilter ( Browscap\Filter\FilterInterface $filter ) : Browscap\Formatter\FormatterInterface
$filter Browscap\Filter\FilterInterface
return Browscap\Formatter\FormatterInterface