OperationCollection
class OperationCollection implements Countable, Iterator (View source)
Represents a collection of image transformation operations in a stack.
Methods
__construct(array $operations)
Constructor.
int
count()
Return number of operations.
getOperations()
Return operations.
static OperationCollection
createFromJsonResponse(string $jsonString)
Create a collection from the JSON data returned by the rokka.io API.
void
next()
No description
int
key()
No description
bool
valid()
No description
void
rewind()
No description
Details
__construct(array $operations)
Constructor.
int
count()
Return number of operations.
Operation[]
getOperations()
Return operations.
static OperationCollection
createFromJsonResponse(string $jsonString)
Create a collection from the JSON data returned by the rokka.io API.
Operation
current()
No description
void
next()
No description
int
key()
No description
bool
valid()
No description
void
rewind()
No description