StackAbstract deprecated
class StackAbstract extends AbstractStack (View source)
deprecated
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
from
AbstractStack
getStackOperationsByName(string $name)
Returns all operations matching name.
from
AbstractStack
addStackOperation(StackOperation $stackOperation)
Adds a StackOperation to the list of existing Stack Operations.
from
AbstractStack
addStackOption(string $key, bool|float|int|string $value)
Sets a single Stack option to the list of existing Stack options.
from
AbstractStack
Details
__construct(string|null $name = null, array $stackOperations = [], array $stackOptions = [], array $stackVariables = [])
No description
null|string
getName()
Get name of stack for url.
AbstractStack
setName(string $name)
Since: 1.1.0
No description
StackOperation[]
getStackOperations()
No description
StackOperation[]
getStackOperationsByName(string $name)
Since: 1.2.0
Returns all operations matching name.
AbstractStack
setStackOperations(array $operations)
Since: 1.1.0
No description
AbstractStack
addStackOperation(StackOperation $stackOperation)
Since: 1.1.0
Adds a StackOperation to the list of existing Stack Operations.
(bool|float|int|string)[]
getStackOptions()
No description
AbstractStack
setStackOptions(array $options)
Since: 1.1.0
No description
(bool|float|int|string)[]
getStackVariables()
Since: 1.10.0
No description
AbstractStack
setStackVariables(array $variables)
Since: 1.10.0
No description
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.