SoftDeletedInDatabase (Foundation\Testing)

SoftDeletedInDatabase

class SoftDeletedInDatabase extends PHPUnit_Framework_Constraint (View source)

Methods

void __construct(Connection $database, array $data)

Create a new constraint instance.

bool matches(string $table)

Check if the data is found in the given table.

string failureDescription(string $table)

Get the description of the failure.

string toString()

Get a string representation of the object.

Details

void __construct(Connection $database, array $data)

Create a new constraint instance.

Parameters

Connection $database
array $data

Return Value

void

bool matches(string $table)

Check if the data is found in the given table.

Parameters

string $table

Return Value

bool

string failureDescription(string $table)

Get the description of the failure.

Parameters

string $table

Return Value

string

string toString()

Get a string representation of the object.

Return Value

string

© Taylor Otwell
Licensed under the MIT License.
Laravel is a trademark of Taylor Otwell.
https://laravel.com/api/5.4/Illuminate/Foundation/Testing/Constraints/SoftDeletedInDatabase.html

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部