Exists

Exists

class Exists (View source)

Methods

void __construct(string $table, string $column = 'NULL')

Create a new exists rule instance.

$this where(string $column, string $value = null)

Set a "where" constraint on the query.

$this whereNot(string $column, string $value)

Set a "where not" constraint on the query.

$this whereNull(string $column)

Set a "where null" constraint on the query.

$this whereNotNull(string $column)

Set a "where not null" constraint on the query.

$this using(Closure $callback)

Register a custom query callback.

array queryCallbacks()

Get the custom query callbacks for the rule.

string __toString()

Convert the rule to a validation string.

doc_Laravel
2016-11-02 16:17:37
Comments
Leave a Comment

Please login to continue.