abstract class StackAbstract (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

StackAbstract setName(string $name)

Since: 1.1.0

No description

Parameters

string $name

Return Value

StackAbstract

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[]

StackAbstract setStackOperations(array $operations)

Since: 1.1.0

No description

Parameters

array $operations

Return Value

StackAbstract

StackAbstract addStackOperation(StackOperation $stackOperation)

Since: 1.1.0

Adds a StackOperation to the list of existing Stack Operations.

Parameters

StackOperation $stackOperation

Return Value

StackAbstract

array getStackOptions()

No description

Return Value

array

StackAbstract setStackOptions(array $options)

Since: 1.1.0

No description

Parameters

array $options

Return Value

StackAbstract

StackAbstract 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

StackAbstract