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