abstract class AbstractStack (View source)

Properties

string|null $name
StackOperation[] $stackOperations
array $stackOptions

Methods

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

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.

array
getStackOptions()

No description

setStackOptions(array $options)

No description

addStackOption(string $key, mixed $value)

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

Details

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

No description

Parameters

$name
array $stackOperations
array $stackOptions

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

array getStackOptions()

No description

Return Value

array

AbstractStack setStackOptions(array $options)

Since: 1.1.0

No description

Parameters

array $options

Return Value

AbstractStack

AbstractStack addStackOption(string $key, mixed $value)

Since: 1.1.0

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

Parameters

string $key
mixed $value

Return Value

AbstractStack