GetModel extends ExistModel
Tags
Table of Contents
Methods
Methods
exist()
Indicates if the passed-in item exist.
public
exist([array<string|int, mixed> $init = [] ]) : bool
Parameters
- $init : array<string|int, mixed> = []
-
The optional setting definition.
Return values
bool —True of the value exist in the model.
get()
Returns an item in the model.
public
get([array<string|int, mixed> $init = [] ]) : mixed
Parameters
- $init : array<string|int, mixed> = []