StackOperation
class StackOperation (View source)
Represents an operation with configuration.
Properties
string | $name | Name of the operation. |
|
array | $options | Configured operation options provided for the stack. |
|
array | $expressions | Configured operation expressions provided for the stack. |
Methods
__construct(string $name, array $options = [], array $expressions = [])
Constructor.
array
toArray()
Return the stack operation as an array.
static StackOperation
createFromDecodedJsonResponse(array $data)
Create a stack operation from the decoded JSON data returned by the rokka.io API.
Details
__construct(string $name, array $options = [], array $expressions = [])
Constructor.
array
toArray()
Return the stack operation as an array.
static StackOperation
createFromDecodedJsonResponse(array $data)
Create a stack operation from the decoded JSON data returned by the rokka.io API.