# ActionExecutedInterface

Chevere\Interfaces\Action\ActionExecutedInterface

view source (opens new window)

# Description

Describes the component in charge of handling the controller execution outcome.

# Methods

# __construct

Parameters

  • data: array

# code

Provides access to the controller returned code.

Return

int


# data

Provides access to the controller returned data.

Return

array


# withThrowable

Return an instance with the specified throwable, with its exit code.

Parameters

Return

self

This method MUST retain the state of the current instance, and return an instance that contains the specified throwable, with its exit code.


# hasThrowable

Indicates whether the instance has a \Throwable.

Return

bool


# throwable

Provides access to the \Throwable instance.


Last Updated: 5/1/2021, 2:31:10 PM