Where
extends ContractBuilder
in package
Table of Contents
Properties
- $where : array<string|int, mixed>
Methods
- and() : static
- build() : array<string|int, mixed>
- or() : static
- where() : $this
- Add and clauses
- commented() : string
Properties
$where
private
array<string|int, mixed>
$where
= []
Methods
and()
public
and(array<string|int, mixed> $clauses) : static
Parameters
- $clauses : array<string|int, mixed>
Return values
staticbuild()
public
build() : array<string|int, mixed>
Return values
array<string|int, mixed>or()
public
or(array<string|int, mixed> $clauses) : static
Parameters
- $clauses : array<string|int, mixed>
Return values
staticwhere()
Add and clauses
public
where(array<string|int, mixed> $where) : $this
Parameters
- $where : array<string|int, mixed>
Tags
Return values
$thiscommented()
private
commented(mixed $hook) : string
Parameters
- $hook : mixed