PHP 트레잇 DebugKit\Model\Table\LazyTableTrait

Because the debugkit doesn't come with a pre-built SQLite database, we'll need to make it as we need it. This trait lets us dump fixture schema into a given database at runtime.
파일 보기 프로젝트 열기: cakephp/debug_kit

공개 메소드들

메소드 설명
ensureTables ( array $fixtures ) : void Ensures the tables for the given fixtures exist in the schema.

메소드 상세

ensureTables() 공개 메소드

If the tables do not exist, they will be created on the current model's connection.
public ensureTables ( array $fixtures ) : void
$fixtures array The fixture names to check and/or insert.
리턴 void