HandlerInterface
HandlerInterface.php
:
14
Interface
Methods¶
countBy()
¶
HandlerInterface.php
:
32
|
|
|
Parameters
| Name | Type | Default value | Description |
|---|---|---|---|
| $criteria | array<string|int, scalar|array<string|int, scalar>|Expression> | - | - |
Return values
int
exists()
¶
HandlerInterface.php
:
41
|
|
|
Parameters
| Name | Type | Default value | Description |
|---|---|---|---|
| $id | int | - | - |
Return values
bool
find()
¶
HandlerInterface.php
:
39
|
|
|
Parameters
| Name | Type | Default value | Description |
|---|---|---|---|
| $id | int | - | - |
Return values
T
Tags
findAll()
¶
HandlerInterface.php
:
19
|
|
|
Parameters
| Name | Type | Default value | Description |
|---|---|---|---|
| $limit | int|null | null | - |
| $offset | int | 0 | - |
Return values
array<string|int, T>
findBy()
¶
HandlerInterface.php
:
27
|
|
|
Parameters
| Name | Type | Default value | Description |
|---|---|---|---|
| $criteria | array<string|int, scalar|array<string|int, scalar>|Expression> | - | - |
| $orderBy | array<string, mixed>|null | null | - |
| $limit | int|null | null | - |
| $offset | int | 0 | - |
Return values
array<string|int, T>