PHP 클래스 Faker\Generator

파일 보기 프로젝트 열기: fzaninotto/faker 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$formatters
$providers

공개 메소드들

메소드 설명
__call ( string $method, array $attributes )
__get ( string $attribute )
addProvider ( $provider )
format ( $formatter, $arguments = [] )
getFormatter ( $formatter ) : Callable
getProviders ( )
parse ( string $string ) : string Replaces tokens ('{{ tokenName }}') with the result from the token method call
seed ( $seed = null )

보호된 메소드들

메소드 설명
callFormatWithMatches ( $matches )

메소드 상세

__call() 공개 메소드

public __call ( string $method, array $attributes )
$method string
$attributes array

__get() 공개 메소드

public __get ( string $attribute )
$attribute string

addProvider() 공개 메소드

public addProvider ( $provider )

callFormatWithMatches() 보호된 메소드

protected callFormatWithMatches ( $matches )

format() 공개 메소드

public format ( $formatter, $arguments = [] )

getFormatter() 공개 메소드

public getFormatter ( $formatter ) : Callable
리턴 Callable

getProviders() 공개 메소드

public getProviders ( )

parse() 공개 메소드

Replaces tokens ('{{ tokenName }}') with the result from the token method call
public parse ( string $string ) : string
$string string String that needs to bet parsed
리턴 string

seed() 공개 메소드

public seed ( $seed = null )

프로퍼티 상세

$formatters 보호되어 있는 프로퍼티

protected $formatters

$providers 보호되어 있는 프로퍼티

protected $providers