Toggle navigation
Hot Examples
RU
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Найти
Главная
DebugKit
Model
Table
LazyTableTrait
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.
Показать файл
Открыть проект
Открытые методы
Метод
Описание
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