Since: 1.1.0

class StackExpression (View source)

Properties

string $expression
array $overrides

Methods

__construct($expression, $optionOverrides = [])

No description

static StackExpression
createFromDecodedJsonResponse(array $data)

Create a stack from the decoded JSON data returned by the rokka.io API.

string
getExpression()

No description

setExpression(string $expression)

No description

array
getOptionsOverrides()

No description

setOptionsOverrides(array $overrides)

No description

addOptionOverride(string $key, mixed $value)

Adds a single option override to the options overrides.

Details

__construct($expression, $optionOverrides = [])

No description

Parameters

$expression
$optionOverrides

static StackExpression createFromDecodedJsonResponse(array $data)

Create a stack from the decoded JSON data returned by the rokka.io API.

Parameters

array $data

Decoded JSON data

Return Value

StackExpression

string getExpression()

No description

Return Value

string

StackExpression setExpression(string $expression)

No description

Parameters

string $expression

Return Value

StackExpression

array getOptionsOverrides()

No description

Return Value

array

StackExpression setOptionsOverrides(array $overrides)

No description

Parameters

array $overrides

Return Value

StackExpression

StackExpression addOptionOverride(string $key, mixed $value)

Adds a single option override to the options overrides.

Parameters

string $key
mixed $value

Return Value

StackExpression