PHP Class BrowscapPHP\Data\PropertyFormatter

Author: Christoph Ziegenberg ([email protected])
Author: Thomas Müller ([email protected])
Show file Open project: browscap/browscap-php Class Usage Examples

Public Methods

Method Description
__construct ( PropertyHolder $propertyHolder ) class constructor
formatPropertyValue ( string $value, string $property ) : string formats the name of a property

Method Details

__construct() public method

class constructor
public __construct ( PropertyHolder $propertyHolder )
$propertyHolder PropertyHolder

formatPropertyValue() public method

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