PHP 클래스 Fakerino\Core\Filler\DbFiller

저자: Nicola Pietroluongo ([email protected])
상속: implements Fakerino\Core\Filler\FillerInterface
파일 보기 프로젝트 열기: fakerino/fakerino 1 사용 예제들

공개 메소드들

메소드 설명
__construct ( Fakerino\Core\Database\DbInterface $db, string $tableName, FakeDataFactory $faker, integer $num = 1 )
fill ( ) : array Fills the tablename with fake value.

비공개 메소드들

메소드 설명
fakeColumn ( $fakeName, $fakeType, $maxLength )

메소드 상세

__construct() 공개 메소드

public __construct ( Fakerino\Core\Database\DbInterface $db, string $tableName, FakeDataFactory $faker, integer $num = 1 )
$db Fakerino\Core\Database\DbInterface
$tableName string
$faker Fakerino\Core\FakeDataFactory
$num integer

fill() 공개 메소드

Fills the tablename with fake value.
public fill ( ) : array
리턴 array