PHP 클래스 Browscap\Formatter\JsonFormatter

저자: Thomas Müller ([email protected])
상속: implements Browscap\Formatter\FormatterInterface
파일 보기 프로젝트 열기: browscap/browscap 1 사용 예제들

공개 메소드들

메소드 설명
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

메소드 상세

formatPropertyName() 공개 메소드

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

formatPropertyValue() 공개 메소드

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

getFilter() 공개 메소드

public getFilter ( ) : Browscap\Filter\FilterInterface
리턴 Browscap\Filter\FilterInterface

getType() 공개 메소드

returns the Type of the formatter
public getType ( ) : string
리턴 string

setFilter() 공개 메소드

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