Scope
class Scope implements Structable
Constants
QUERY_NAME |
|
Properties
string read-only | $value | 值 | |
string read-only | $label | 标签 | |
protected Collection | $queries |
Methods
__construct(string|int $value, string $label)
Scope constructor.
__get($attr)
No description
array
condition()
获取模型查询条件
struct()
可结构化并返回
Details
at line 38
__construct(string|int $value, string $label)
Scope constructor.
at line 45
__get($attr)
No description
at line 57
array
condition()
获取模型查询条件
at line 71
Scope
__call(string $method, array $arguments)
将模型查询条件存储
at line 77
struct()
可结构化并返回