PHP Трейт Illuminate\Foundation\Testing\Concerns\InteractsWithDatabase

Показать файл Открыть проект

Открытые методы

Метод Описание
seed ( string $class = 'DatabaseSeeder' ) Seed a given database connection.

Защищенные методы

Метод Описание
dontSeeInDatabase ( string $table, array $data, string $connection = null ) Assert that a given where condition does not exist in the database.
missingFromDatabase ( string $table, array $data, string $connection = null ) Assert that a given where condition does not exist in the database.
notSeeInDatabase ( string $table, array $data, string $connection = null ) Assert that a given where condition does not exist in the database.
seeInDatabase ( string $table, array $data, string $connection = null ) Assert that a given where condition exists in the database.

Описание методов

dontSeeInDatabase() защищенный Метод

Assert that a given where condition does not exist in the database.
protected dontSeeInDatabase ( string $table, array $data, string $connection = null )
$table string
$data array
$connection string

missingFromDatabase() защищенный Метод

Assert that a given where condition does not exist in the database.
protected missingFromDatabase ( string $table, array $data, string $connection = null )
$table string
$data array
$connection string

notSeeInDatabase() защищенный Метод

Assert that a given where condition does not exist in the database.
protected notSeeInDatabase ( string $table, array $data, string $connection = null )
$table string
$data array
$connection string

seeInDatabase() защищенный Метод

Assert that a given where condition exists in the database.
protected seeInDatabase ( string $table, array $data, string $connection = null )
$table string
$data array
$connection string

seed() публичный Метод

Seed a given database connection.
public seed ( string $class = 'DatabaseSeeder' )
$class string