phpbotgram

SwitchModeToAll extends SwitchMode
in package

FinalYes

Signals the resolver to evaluate the remaining operations against every element of the current iterable value and accept only when ALL succeed.

Direct port of upstream magic_filter.exceptions.SwitchModeToAll (magic_filter/exceptions.py:9-11). Raised by GetItemOperation when the user requests F[:] (empty slice) — interpreted as "fan out".

Upstream carries the original slice on .key; PHP slicing has no equivalent literal, so the carried value is the marker that was supplied to __invoke / offsetGet (typically the empty-slice sentinel). Stored mixed for forward compatibility.

Table of Contents

Properties

$key  : mixed

Methods

__construct()  : mixed

Properties

Methods

__construct()

public __construct(mixed $key) : mixed
Parameters
$key : mixed
On this page

Search results