509. Class

509.1. Zend\EventManager\ResponseCollection

Collection of signal handler return values

509.1.1. Methods

509.1.1.1. stopped

stopped()

Did the last response provided trigger a short circuit of the stack?

Return type:bool

509.1.1.2. setStopped

setStopped()

Mark the collection as stopped (or its opposite)

Parameters:bool
Return type:ResponseCollection

509.1.1.3. first

first()

Convenient access to the first handler return value.

Return type:mixed The first handler return value

509.1.1.4. last

last()

Convenient access to the last handler return value.

If the collection is empty, returns null. Otherwise, returns value returned by last handler.

Return type:mixed The last handler return value

509.1.1.5. contains

contains()

Check if any of the responses match the given value.

Parameters:mixed – The value to look for among responses
Return type:bool

Project Versions

Table Of Contents

Previous topic

507. Function

Next topic

510. Function

This Page