abstract class AbstractStack (View source)

Properties

string|null $name
StackOperation[] $stackOperations
(bool|float|int|string)[] $stackOptions
(bool|float|int|string)[] $stackVariables

Methods

__construct(string|null $name = null, array $stackOperations = [], array $stackOptions = [], array $stackVariables = [])

No description

null|string
getName()

Get name of stack for url.

setName(string $name)

No description

getStackOperations()

No description

getStackOperationsByName(string $name)

Returns all operations matching name.

setStackOperations(array $operations)

No description

addStackOperation(StackOperation $stackOperation)

Adds a StackOperation to the list of existing Stack Operations.

(bool|float|int|string)[]
getStackOptions()

No description

setStackOptions(array $options)

No description

(bool|float|int|string)[]
getStackVariables()

No description

setStackVariables(array $variables)

No description

addStackOption(string $key, bool|float|int|string $value)

Sets a single Stack option to the list of existing Stack options.

Details

__construct(string|null $name = null, array $stackOperations = [], array $stackOptions = [], array $stackVariables = [])

No description

Parameters

string|null $name
array $stackOperations
array $stackOptions
array $stackVariables

null|string getName()

Get name of stack for url.

Return Value

null|string

AbstractStack setName(string $name)

Since: 1.1.0

No description

Parameters

string $name

Return Value

AbstractStack

StackOperation[] getStackOperations()

No description

Return Value

StackOperation[]

StackOperation[] getStackOperationsByName(string $name)

Since: 1.2.0

Returns all operations matching name.

Parameters

string $name

operation name

Return Value

StackOperation[]

AbstractStack setStackOperations(array $operations)

Since: 1.1.0

No description

Parameters

array $operations

Return Value

AbstractStack

AbstractStack addStackOperation(StackOperation $stackOperation)

Since: 1.1.0

Adds a StackOperation to the list of existing Stack Operations.

Parameters

StackOperation $stackOperation

Return Value

AbstractStack

(bool|float|int|string)[] getStackOptions()

No description

Return Value

(bool|float|int|string)[]

AbstractStack setStackOptions(array $options)

Since: 1.1.0

No description

Parameters

array $options

Return Value

AbstractStack

(bool|float|int|string)[] getStackVariables()

Since: 1.10.0

No description

Return Value

(bool|float|int|string)[]

AbstractStack setStackVariables(array $variables)

Since: 1.10.0

No description

Parameters

array $variables

Return Value

AbstractStack

AbstractStack addStackOption(string $key, bool|float|int|string $value)

Since: 1.1.0

Sets a single Stack option to the list of existing Stack options.

Parameters

string $key
bool|float|int|string $value

Return Value

AbstractStack