WatchResult

package

Default

Methods

__construct

__construct() 

A Throwable describing failure. This will be null if the operation succeeded.

cause() : \Exception

Response

\Exception

the cause or null if the operation succeeded.

Did it fail?

failed() : boolean

Response

boolean

true if it failed or false otherwise

The next result of the operation. This will be null if the operation failed.

nextResult() : mixed

Response

mixed

the next result or null if the operation failed.

The previous result of the operation.

prevResult() : mixed

Response

mixed

the previous result.

Did it succeed?

succeeded() : boolean

Response

boolean

true if it succeded or false otherwise