Bristol SU Support Package
Public Member Functions | List of all members
BristolSU\Support\Action\Contracts\ActionBuilder Interface Reference
Inheritance diagram for BristolSU\Support\Action\Contracts\ActionBuilder:
Inheritance graph
[legend]

Public Member Functions

 build (ActionInstance $actionInstance, array $data=[])
 

Detailed Description

Builds an action class.

Definition at line 12 of file ActionBuilder.php.

Member Function Documentation

◆ build()

BristolSU\Support\Action\Contracts\ActionBuilder::build ( ActionInstance  $actionInstance,
array  $data = [] 
)

Build an action given an action instance and data to map.

The data are the event fields, so need mapping to the action data before creation.

Parameters
ActionInstance$actionInstance
array$data
Returns
Action

Implemented in BristolSU\Support\Action\ActionBuilder.


The documentation for this interface was generated from the following file: