Has
class Has extends Comparator (View source)
Check if a given key exists using dot-notation.
Ported and adapted from illuminate/collections
helper Arr::has
.
Methods
__construct(int|string $key)
No description
bool
check(mixed $value)
Compare the input value against the comparator.
Details
__construct(int|string $key)
No description
final bool
__invoke(mixed $value)
Compare the input value against the comparator.
bool
check(mixed $value)
Compare the input value against the comparator.
static Has
make(int|string $key)
No description