Stack
class Stack (View source)
Represents a collection of stack operations for an organization.
Properties
string | $organization | ||
string | $name | ||
DateTime | $created | ||
StackOperation[] | $stackOperations | ||
array | $stackOptions |
Methods
__construct(string $organization, string $name, array $stackOperations, array $stackOptions, DateTime $created)
Constructor.
static Stack
createFromJsonResponse(string|array $data, bool $isArray = false)
Create a stack from the JSON data returned by the rokka.io API.
string
getOrganization()
Get nanme of organization for url.
string
getName()
Get name of stack for url.
getCreated()
Get date of creation for this stack.
getStackOperations()
Get collection of operations.
array
getStackOptions()
Get the collection of Stack's options.
Details
__construct(string $organization, string $name, array $stackOperations, array $stackOptions, DateTime $created)
Constructor.
static Stack
createFromJsonResponse(string|array $data, bool $isArray = false)
Create a stack from the JSON data returned by the rokka.io API.
string
getOrganization()
Get nanme of organization for url.
string
getName()
Get name of stack for url.
DateTime
getCreated()
Get date of creation for this stack.
StackOperation[]
getStackOperations()
Get collection of operations.
array
getStackOptions()
Get the collection of Stack's options.