PHP 인터페이스 PhpBench\Formatter\FormatInterface

An example might be formatting numbers, e.g: 10000 => 10,000
파일 보기 프로젝트 열기: dantleech/phpbench

공개 메소드들

메소드 설명
format ( string $subject, array $options ) : string Format the given subject value.
getDefaultOptions ( ) : array Return the default options for this format class.

메소드 상세

format() 공개 메소드

Format the given subject value.
public format ( string $subject, array $options ) : string
$subject string
$options array
리턴 string

getDefaultOptions() 공개 메소드

Return the default options for this format class.
public getDefaultOptions ( ) : array
리턴 array