Toggle navigation
Hot Examples
DE
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Suchen
Home
DebugKit
Model
Table
LazyTableTrait
PHP Trait 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.
Datei anzeigen
Open project: cakephp/debug_kit
Public Methods
Method
Description
ensureTables
(
array
$fixtures
) :
void
Ensures the tables for the given fixtures exist in the schema.
Method Details
ensureTables()
public
method
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.
return
void