class StackAbstract extends AbstractStack (View source)

deprecated 2.0.0 Use AbstractStack instead

This class is here for BC reasons. We renamed it to AbstractStack to be consistent with coding standards.

Properties

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

Methods

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

No description

string|null
getName()

Get name of stack for url.

setName(string $name)

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

string|null getName()

Get name of stack for url.

Return Value

string|null

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